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