E1. String Coloring (easy version)
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
This is an easy version of the problem. The actual problems are
different, but the easy version is almost a subtask of the hard
version. Note that the constraints and the output format are
different.You are given a string