// Almost Java
// Well, not really
// Ignore the next several lines all the way until "class MyProg"
#include <iostream>
struct System_ {
struct out_ {
template <typename T> void println(T x) { std::cout << x << '\n'; }
template <typename T> void print(T x) { std::cout << x; }
} out;
} System;
#define public public:
#define String int argc, char* argv
#define args
#define PRETENDIDONTEXIST prog; int main(int argc, char* argv[])\
{ prog.main(argc, argv); }
// Okay, now you can stop ignoring lines
class MyProg
{
public static void main(String[] args) // Hee hee
{
System.out.println("Hey, this actually kinda works!");
System.out.print("Kinda nifty, don't you think?");
}
}
PRETENDIDONTEXIST // Yes, you heard me
Ly8gQWxtb3N0IEphdmEKLy8gV2VsbCwgbm90IHJlYWxseQoKLy8gSWdub3JlIHRoZSBuZXh0IHNldmVyYWwgbGluZXMgYWxsIHRoZSB3YXkgdW50aWwgImNsYXNzIE15UHJvZyIKI2luY2x1ZGUgPGlvc3RyZWFtPgpzdHJ1Y3QgU3lzdGVtXyB7CglzdHJ1Y3Qgb3V0XyB7CgkJdGVtcGxhdGUgPHR5cGVuYW1lIFQ+IHZvaWQgcHJpbnRsbihUIHgpIHsgc3RkOjpjb3V0IDw8IHggPDwgJ1xuJzsgfQoJCXRlbXBsYXRlIDx0eXBlbmFtZSBUPiB2b2lkIHByaW50KFQgeCkgeyBzdGQ6OmNvdXQgPDwgeDsgfQoJfSBvdXQ7Cn0gU3lzdGVtOwojZGVmaW5lIHB1YmxpYyBwdWJsaWM6CiNkZWZpbmUgU3RyaW5nIGludCBhcmdjLCBjaGFyKiBhcmd2CiNkZWZpbmUgYXJncwojZGVmaW5lIFBSRVRFTkRJRE9OVEVYSVNUIHByb2c7IGludCBtYWluKGludCBhcmdjLCBjaGFyKiBhcmd2W10pXAp7IHByb2cubWFpbihhcmdjLCBhcmd2KTsgfQovLyBPa2F5LCBub3cgeW91IGNhbiBzdG9wIGlnbm9yaW5nIGxpbmVzCgpjbGFzcyBNeVByb2cKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgLy8gSGVlIGhlZQoJewoJCVN5c3RlbS5vdXQucHJpbnRsbigiSGV5LCB0aGlzIGFjdHVhbGx5IGtpbmRhIHdvcmtzISIpOwoJCVN5c3RlbS5vdXQucHJpbnQoIktpbmRhIG5pZnR5LCBkb24ndCB5b3UgdGhpbms/Iik7Cgl9Cn0KClBSRVRFTkRJRE9OVEVYSVNUIC8vIFllcywgeW91IGhlYXJkIG1lCg==