已知抛物线y=x^2-2x+m与y=-x^2+nx-1的顶点重合,则m=_______,n=_______.