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