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