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