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