Given n positive integers, print run-length encoding. Example: 44455544445 => 3 4 3 5 4 4 1 5
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
1 44455544445
Output
3 4 3 5 4 4 1 5