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