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