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