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