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