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