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