题解 | 小红的“质数”寻找
小红的“质数”寻找
https://www.nowcoder.com/practice/0b98a50ea30e4a3a9fe08a46eeb5f7fc
nums = ["2", "3", "5", "5", "7", "7", "12", "12", "12"]
t = int(input().strip())
for _ in range(t):
x = input().strip()
print(nums[int(x[0]) - 1] + '0' * (len(x) - 1))
