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