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