number = input() last_digit = str() for digit in number: if digit == last_digit: print("true") break last_digit = digit else: print("false")