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