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