





'''simple docstring'''

def  _a     (				):





      """simple docstring"""



      _snake_case		:						Optional[int]         =  1

      while True:
            if (
                sorted(str(lowerCAmelCase_						)						)
                == sorted(str(2 * i						)						)
                == sorted(str(3 * i						)						)
                == sorted(str(4 * i						)						)
                == sorted(str(5 * i						)						)
                == sorted(str(6 * i						)						)
            ):
                  return i

            i += 1


if __name__ == "__main__":
   print(solution())









'''simple docstring'''

def  _a     (				lowerCAmelCase_ = 4_000_000						):





      """simple docstring"""



      _snake_case		:						Optional[int]         =  1
      _snake_case		:						Tuple         =  2
      _snake_case		:						Optional[Any]         =  0
      while j <= n:
            if j % 2 == 0:
                  total += j
            _snake_case  ,				_snake_case		:						str         =  j, i + j

      return total


if __name__ == "__main__":
   print(F"""{solution() = }""")


