In 1713 Nicolaus Bernoulli, nephew of Jakob and of Johann, put an innocent-looking problem to the French mathematician Pierre Rémond de Montmort in a letter. Peter tosses a coin until it comes up heads. If heads comes on the first toss, he pays Paul $1$ crown; if only on the second, $2$ crowns; on the third, $4$; on the fourth, $8$; and so on, doubling each time. How much should Paul pay for the game to be fair?