def solved(): s = input() if len(s) % 2 == 1: k = (len(s)+1) // 2 print("1100" * (k//2) + "11" * (k%2)) else: for i in range(0, len(s), 2): if s[i] == s[i+1] and i > 0 and s[i] == s[i-1]: c, j = (int(s[i]) + 1) // 10, i-2 while j >= 0 and c == 1: c = (int(s[j]) + 1) // 10 i...