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