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