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