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