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