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