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