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