Input may contain multiple lines (if pasted)