Mr.James bought 19 crates of fruits.There were 64 fryits in each crate.If 320 were apples,414 were pears and the rest were mangoes,how many mangoes were there ?​