Sam: I don't know the number on my hat.
Pete: I don't know the number on my hat.
Sam: I don't know the number on my hat.
Pete: I don't know the number on my hat.
Sam: I don't know the number on my hat.
Pete: I don't know the number on my hat.
Sam: OK, now I know the number on my hat.
Pete: And I know the number on mine.
What are the numbers on Pete's and Sam's hats?