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