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