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