The compression algorithm is an algorithm that groups consecutive identical letters in a given string. For example, when the algorithm is applied to the string aaabbaac, we get a3b2a2c1.
A single line contains the string S consisting of lowercase English letters.
1\le |S|\le 5000, where indicates the length of the string S.
Output the result obtained by applying the compression algorithm to the string S.
Example 21
Example 22
Example 23
In this task, points are awarded for each correct test. The maximum score is 100. The tests given in the examples are not included in the system tests.