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