Extracted un-sanitized input method

using new function same_spot(n, m)