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