System.file.stdin|read(999)|replace(" *(\s) *","\\1")|print;