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