

def frequency_checker(num1, num2):
    num1_string = str(num1)
    num2_string = str(num2)
    if len(num1_string) == len(num2_string):
        print("true")
    else:
        print("false")

frequency_checker(1245, 67584)