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