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