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