/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
System.
out.
println(s.
replaceAll("\n",
"LF")); System.
out.
println(s.
replaceAll("\\n",
"LF")); System.
out.
println(s.
replaceAll("(?x)\\n",
"LF")); System.
out.
println(s.
replaceAll("(?x)\\\n",
"LF")); System.
out.
println(s.
replaceAll("(?x)\n",
"<LF>")); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguKjsKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgcyA9ICJcbiI7CgkJU3lzdGVtLm91dC5wcmludGxuKHMucmVwbGFjZUFsbCgiXG4iLCAiTEYiKSk7IAoJCVN5c3RlbS5vdXQucHJpbnRsbihzLnJlcGxhY2VBbGwoIlxcbiIsICJMRiIpKTsgCgkJU3lzdGVtLm91dC5wcmludGxuKHMucmVwbGFjZUFsbCgiKD94KVxcbiIsICJMRiIpKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4ocy5yZXBsYWNlQWxsKCIoP3gpXFxcbiIsICJMRiIpKTsgCgkJU3lzdGVtLm91dC5wcmludGxuKHMucmVwbGFjZUFsbCgiKD94KVxuIiwgIjxMRj4iKSk7IAoJfQp9