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