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