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