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