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