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