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