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