题解 | #百钱买百鸡问题#
四则运算
http://www.nowcoder.com/practice/9999764a61484d819056f807d2a91f1e
while True:
try:
a = input()
except:
break
else:
aa = a.replace("[", "(").replace("]", ')').replace("{", "(").replace("}", ")")
print(int(eval(aa)))