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