from sys import*;setrecursionlimit(10**6);set_int_max_str_digits(0);input();print(eval(input()))