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