Question 4
John wrote a 2-digit number on a piece of paper and asked Peter to guess it. Peter asked: “Is the number 89?” John replied: “One of the digits is correct, the position of that digit is also correct.” Peter asked again: “Is the number 17?” John replied: “One of the digits is correct, the position of that digit is wrong.” Peter asked again: “Is the number 75?” John said: “One of the digits is correct, the position of that digit is correct.” What is the number written by John?

