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