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