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