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