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