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