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