import math


def rotate_coords(x, y, xc, yc, angle):
    """
    Compute the new value of the given coordinates (x, y)
    with the corresponding center of the rotation and the angle.

    Parameters
    ----------
    x: int
       x coordinate on which to apply the rotation.
    y: int
       y coordinate on which to apply the rotation.
    xc: int
        x coordinate of the rotation center.
    yc: int
        y coordinate of the rotation center.
    angle: int
           angle, in degrees, of the rotation.
    """
    cosin = math.cos(math.radians(angle))
    sin = math.sin(math.radians(angle))
    x_rot = cosin * (x - xc) - sin * (y - yc) + xc
    y_rot = sin * (x - xc) + cosin * (y - yc) + yc
    return x_rot, y_rot