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