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