In a mysterious land, a powerful wizard decreed that every integer would undergo a transformation. Given an integer $n$, the transformation follows these rules:
If $n$ is positive, the wizard multiplies it by 3.
If $n$ is negative, he adds 5 to it.
If $n$ equals 0, it transforms into 10.
What is the result of the transformation for the integer $$n = -7$$?