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