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