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