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