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