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