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