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