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