Kolton won 40 bouncy balls at the school carnival. He decided to give 2 to each of his friends and only had 8 left over. How many friends did Kolton share his prizes with?