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