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