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