Fill in the four main values (A1, A2, B1, B2):
Thanks to Javascript Planet for the code (modified slightly by me to make it more psychologist-friendly).