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