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