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