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