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