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