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