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