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