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