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