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