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