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