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