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