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