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