Question 4John wrote a three-digit number. Guess 321 has two correct digits in wrong positions; guess 732 has all three digits correct but all in wrong positions. What is the number?