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