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