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