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