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