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