Forty slips of paper numbered $1$ to $40$ are placed in a hat. Alice and Bob each draw one number from the hat without replacement, keeping their numbers hidden from each other. Alice says, "I can't tell who has the larger number." Then Bob says, "I know who has the larger number." Alice says, "You do? Is your number prime?" Bob replies, "Yes." Alice says, "In that case, if I multiply your number by $100$ and add my number, the result is a perfect square. " What is the sum of the two numbers drawn from the hat?
将编号为 $1$ 到 $40$ 的四十张纸条放入一顶帽子中。Alice 和 Bob 各自从帽子里不放回地抽取一个号码,并且彼此对自己的号码保密。Alice 说:“我无法判断谁的号码更大。” 然后 Bob 说:“我知道谁的号码更大。” Alice 说:“你知道?你的号码是质数吗?” Bob 回答:“是。” Alice 说:“在这种情况下,如果我把你的号码乘以 $100$ 再加上我的号码,结果是一个完全平方数。” 从帽子里抽出的两个号码之和是多少?