def nsn(a,b): startA = a startB = b while a != b: if a