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