My issue
My code
# cook your dish here
t = int(input())
for i in range(t):
N , X = map(int , input().split())
price = N * X
price = str(price)
price = list(price)
if price[0] > 0 and len(price) == 5:
print("YES")
else:
print("NO")
Problem Link: SEVENRINGS Problem - CodeChef