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