using System;
public class Test
{
public static void Main()
{
var s1 = Console.ReadLine();
var s2 = s1+"";
var s3 = ""+s1;
Console.WriteLine(
"{0} {1} {2}"
, object.ReferenceEquals(s1, s2)
, object.ReferenceEquals(s1, s3)
, object.ReferenceEquals(s2, s3)
);
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciBzMSA9IENvbnNvbGUuUmVhZExpbmUoKTsKCQl2YXIgczIgPSBzMSsiIjsKCQl2YXIgczMgPSAiIitzMTsKCQlDb25zb2xlLldyaXRlTGluZSgKCQkJInswfSB7MX0gezJ9IgoJCSwgICBvYmplY3QuUmVmZXJlbmNlRXF1YWxzKHMxLCBzMikKCQksICAgb2JqZWN0LlJlZmVyZW5jZUVxdWFscyhzMSwgczMpCgkJLCAgIG9iamVjdC5SZWZlcmVuY2VFcXVhbHMoczIsIHMzKQogICAgICAgICk7Cgl9Cn0=