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