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