There are 6 baskets on the table. Each basket has 19, 20, 16, 12, 3 and 9 apples. Matt chose first, Sean chose fourth, Liam chose fifth, Emma chose third, Olivia chose second, and John chose sixth. How many apples did John and Matt choose in total?