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