# C# 62-5 = 57 #
public string m(int n)=>$"{n%2==0?(n%4==0?1:-1):(m(n-1)+i)}";