Nilan and Tom 10 coins when they put all their coins together and Nilan has 3 coins. How many coins does Tom have?