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