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