'input method's solution