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