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