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