Design a program in Python to find the largest of three numbers.
2, 5, 7
def getMax(a,b,c):
    if a > b and a > c:
        return a
    elif b > a and b > c:
        return b
    else:
        return c

print(getMax(2, 5, 7))