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