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