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