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