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