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