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