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