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