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