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