''' Q10: Given a nonprime integer x, return the smallest factor of x that is not 1
>>> f(9)
3
>>> f(25)
5
>>> f(5859375)
3
>>> f(289)
17
'''

def f(x):
    # Your Code Here!
    pass

if __name__ == '__main__':
    import doctest
    doctest.testmod()