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