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