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