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