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