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