def isprime(num):
    a = num/2
    while(a > 1):
        if num%a == 0:
            a-=1
            continue
        else:
            flag = True
            break
    else:
        flag = False

    return flag

if __name__ == "__main__":
    n = input("Please input a number:")
    print isprime(n)


afc117c5ffe5a7e425f839b5e641966694099d76
def isprime(num):
    a = num/2
    while(a > 1):
        if num%a == 0:
            a-=1
            continue
        else:
            flag = True
            break
    else:
        flag = False

    return flag

if __name__ == "__main__":
    n = input("Please input a number:")
    print isprime(n)

