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