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