from random import randint

guess_num=randint(1,100)
user_input=-1
trial_period=1

while guess_num!=user_input:
    print("the trial no %d:"%trial_period,end='')
    user_input=int(input())
    if user_input<guess_num:
        print("the input number is less")
    elif user_input>guess_num:
        print("the input number is much")
    else:
        print("yes! the right guess...")
    trial_period += 1