split and input