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