In a guess game , five friends had to guess the exact numbers of apples in a covered basket.

Friends guessed as 22 , 24, 29 , 33 , 38, but none of guess was right.The guesses were off by 1, 8, 6, 3, and 8 (in a random order).

From this information, can you determine the number of apples in a basket ?

30 apples

22(by 8) , 24(by 6) , 29(by 1) , 33(by 3) , 38(by 8)