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