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