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