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