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