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