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