import sys try: import os f = open('input.txt', 'r') sys.stdin = f except FileNotFoundError: None from math import sqrt, ceil input=lambda: sys.stdin.readline().strip() def expr(): global now x = term() ans=x while now