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