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