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