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