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