John has $1,042. He wants to spend all of his money on video games that cost $59 each. How many video games can he buy? How much money will he have left over?