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