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