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