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