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