Skip to content

Instantly share code, notes, and snippets.

@Lapin0t
Created August 24, 2016 15:38
Show Gist options
  • Save Lapin0t/25d51ebcc8c94d950b7963e310e88268 to your computer and use it in GitHub Desktop.
Save Lapin0t/25d51ebcc8c94d950b7963e310e88268 to your computer and use it in GitHub Desktop.
(lambda x: lambda y: y)(__import__('sys').setrecursionlimit(2**31-1))((lambda
z: (lambda s: (lambda h: (lambda j: (lambda o: (lambda d: (lambda t: (lambda
e: (lambda g: (lambda k: (lambda l: (lambda m: (lambda n: (lambda q: (lambda
r: (lambda l: (lambda v: (lambda a: (lambda p: print(a(e(p)), a(g(p)))))(lambda
x: e(x)(lambda x: x+1)(g(x)(lambda x: x-1)(0)))(v(lambda x: lambda y: (lambda
w: v(lambda p: lambda a: v((lambda u: u(u))(lambda u: (lambda f: lambda i:
lambda e: lambda g: (q(w)(i))(lambda x: j)(h)(lambda _: k(e)(g))(lambda _: v(
lambda j: lambda k: (lambda a: lambda b: lambda c: (o(d(r(a))(t(d(r(b))(r(c))
)))(t(o(r(a))(o(r(b))(r(c))))))(lambda _: f(s(i))(j)(k))(lambda _: f(s(i))(e)
(g)))(m(n(m(p)(x))(m(k)(y)))(n(m(a)(y))(m(j)(x))))(m(n(m(e)(x))(m(k)(y)))(n(m
(g)(y))(m(j)(x))))(m(n(m(p)(x))(m(g)(y)))(n(m(a)(y))(m(e)(x)))))))(lambda v:
u(u)(v)))(z))))(q(l(int(input())))(s(s(z)))))))((lambda z: lambda g: (lambda
v: g(z(int(v[0])))(z(int(v[1]))))(input().split()))(lambda n: k(z)(l(-n)) if
n < 0 else k(l(n))(z))))((lambda u: u(u))(lambda u: (lambda f: lambda n: z if
n == 0 else s(f(n-1)))(lambda v: u(u)(v)))))(lambda x: (lambda n: n(lambda x:
j)(h))(q(g(x))(e(x)))))(lambda m: lambda n: n(lambda n: lambda f: lambda x: n
(lambda g: lambda h: h(g(f)))(lambda u: x)(lambda u: u))(m)))((lambda m: lambda
x: lambda y: k(l(m(e(x))(e(y)))(m(g(x))(g(y))))(l(m(e(x))(g(y)))(m(g(x))(e(y)
))))(lambda a: lambda b: lambda f:lambda z: a(lambda z: b(f)(z))(z))))(lambda
x: lambda y: k(l(e(x))(g(y)))(l(g(x))(e(y)))))(lambda a: lambda b: lambda f:
lambda z: a(f)(b(f)(z))))(lambda x: lambda y: lambda f: f(x)(y)))(lambda p: p
(lambda x: lambda y: y)))(lambda p: p(lambda x: lambda y: x)))(lambda p: p(
lambda _: j)(lambda _: h)))(lambda p: lambda f: p(lambda _: f)(lambda _: p)))
(lambda p: lambda f: p(lambda _: p)(lambda _: f)))(lambda t: lambda f: f(lambda
v: v)))(lambda t: lambda f: t(lambda v: v)))(lambda n: lambda f: lambda x: f(
n(f)(x))))(lambda f: lambda x: x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment