第一题小中大
第二题:
满分答案:
N = input()
N = int(N)
F = [0 for i in range(N)]
result_all = []
for i in range(N):
F[i] = input()
a = F[i]
F[i] = a.replace("/","//").replace("x","*")
result = eval(F[i])
if result == 24:
result_all.append("Yes")
else:
result_all.append("No")
for i in range(N):
print(result_all[i])