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