Juan borrowed $10 from his cousin. He borrowed another $30 from his uncle. Juan bought a $10 lottery ticket and won $100. How much money will Juan have after he pays his cousin and uncle back?