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