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