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