Press 1 to add to P1, and q to take from it. Press 2 to add to P2, and w to take from it. Press 3 to add to P3, and e to take from it.
The scores only go up to 10. Thanks to @Jaggman12 for helping me with the code. Go to his remix for a better version.