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