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