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