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