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