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