Rimi's father came from abroad and Rimi wanted to know how many chocolates he had brought for her. Then her father showed the following letter equation where each letter represents a digit and told that is the total number of chocolates. Find the number of chocolates.