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