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