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