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