In a guess game , five friends had to guess the exact numbers of coins in a box.

Friends guessed as 31 , 35, 39 , 49 , 37, but none of guess was right. The guesses were off by 1, 9, 5, 3, and 9 (in a random order).

Can you determine the number of coins in a box ?