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