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