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