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