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