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