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