Write a Python function to calculate the greatest common factor (GCF) of two numbers.
Number 1: 15 
Number 2: 25
def gcf(m, n):
    while m != 0:
        m, n = n % m, m 
    return n

print(gcf(15, 25))