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