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