n = int(input()) print(eval(input()))