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