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