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