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