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