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