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