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