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