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