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