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