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