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