C = int(input()) for i in range(1, C): if C % i != 0: continue print(i, C//i, end="") break print()