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