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