def power(x, y):
    """
    Takes the initial input and puts it to the power of the second value
    >>> power(2, 4)
    32
    """
    i = 0
    original_x = x
    while i < y:
        x = x * original_x
        i = i + 1
    return x
