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