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