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