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