Josh is trying to buy a new smartphone for $400. He earns $25 per hour tutoring math students. He also earns $40 per hour being a clown at children's birthday parties. His parents will only allow him to work for 13 hours. How many hours does he need to spend being a clown ?