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