#13334: python參考


az.rejoice@gmail.com (Icy)


from sys import stdin
    for line in stdin:
    print(int(eval(line.replace('/', '//'))))