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