using System;
class var
{
public static implicit operator int (var x) { return 0; }
public static implicit operator var (int x) { return null; }
public static var operator ++ (var x) { return x; }
}
public class Test
{
public static void Main()
{
int i = 0;
for (var x=0; x<3; ++x)
{
Console.WriteLine(x);
if (++i > 15) break;
}
}
}
dXNpbmcgU3lzdGVtOwoKY2xhc3MgdmFyCnsKCXB1YmxpYyBzdGF0aWMgaW1wbGljaXQgb3BlcmF0b3IgaW50ICh2YXIgeCkgeyByZXR1cm4gMDsgfQoJcHVibGljIHN0YXRpYyBpbXBsaWNpdCBvcGVyYXRvciB2YXIgKGludCB4KSB7IHJldHVybiBudWxsOyB9CglwdWJsaWMgc3RhdGljIHZhciBvcGVyYXRvciArKyAodmFyIHgpIHsgcmV0dXJuIHg7IH0KfQoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCWludCBpID0gMDsKCQkKCQlmb3IgKHZhciB4PTA7IHg8MzsgKyt4KQoJCXsKCQkJQ29uc29sZS5Xcml0ZUxpbmUoeCk7CgkJCWlmICgrK2kgPiAxNSkgYnJlYWs7CgkJfQoJfQp9