parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"Focm":[function(require,module,exports) {
var n={};!function(t){"use strict";(n["Control.Apply"]=n["Control.Apply"]||{}).arrayApply=function(n){return function(t){for(var a=n.length,r=t.length,e=new Array(a*r),o=0,i=0;i<a;i++)for(var u=n[i],c=0;c<r;c++)e[o++]=u(t[c]);return e}}}(),function(t){"use strict";n["Control.Category"],n["Data.Boolean"],n["Data.Ord"],n["Data.Ring"];t.flip=function(n){return function(t){return function(a){return n(a)(t)}}}}(n["Data.Function"]=n["Data.Function"]||{}),function(t){"use strict";(n["Data.Functor"]=n["Data.Functor"]||{}).arrayMap=function(n){return function(t){for(var a=t.length,r=new Array(a),e=0;e<a;e++)r[e]=n(t[e]);return r}}}(),function(n){"use strict";var t=function(n){this.compose=n},a=new t(function(n){return function(t){return function(a){return n(t(a))}}});n.compose=function(n){return n.compose},n.Semigroupoid=t,n.semigroupoidFn=a}(n["Control.Semigroupoid"]=n["Control.Semigroupoid"]||{}),function(t){"use strict";var a=n["Data.Functor"],r=n["Control.Semigroupoid"],e=(n["Data.Function"],n["Data.Unit"],function(n){this.map=n}),o=new e(r.compose(r.semigroupoidFn)),i=new e(a.arrayMap);t.Functor=e,t.map=function(n){return n.map},t.functorFn=o,t.functorArray=i}(n["Data.Functor"]=n["Data.Functor"]||{}),function(t){"use strict";var a=n["Control.Apply"],r=(n["Control.Category"],n["Data.Function"],n["Data.Functor"]),e=function(n,t){this.Functor0=n,this.apply=t},o=new e(function(){return r.functorArray},a.arrayApply);t.Apply=e,t.apply=function(n){return n.apply},t.applyArray=o}(n["Control.Apply"]=n["Control.Apply"]||{}),function(t){"use strict";n["Control.Apply"],n["Data.Functor"],n["Data.Unit"];t.Applicative=function(n,t){this.Apply0=n,this.pure=t},t.pure=function(n){return n.pure}}(n["Control.Applicative"]=n["Control.Applicative"]||{}),function(t){"use strict";(n["Control.Bind"]=n["Control.Bind"]||{}).arrayBind=function(n){return function(t){for(var a=[],r=0,e=n.length;r<e;r++)Array.prototype.push.apply(a,t(n[r]));return a}}}(),function(t){"use strict";var a=n["Control.Bind"],r=(n["Control.Applicative"],n["Control.Apply"]),e=(n["Control.Category"],n["Data.Function"],n["Data.Functor"],n["Data.Unit"],function(n,t){this.Apply0=n,this.bind=t}),o=new e(function(){return r.applyArray},a.arrayBind);t.Bind=e,t.bind=function(n){return n.bind},t.bindArray=o}(n["Control.Bind"]=n["Control.Bind"]||{}),function(n){"use strict";n.range=function(n){return function(t){for(var a=n>t?-1:1,r=new Array(a*(t-n)+1),e=n,o=0;e!==t;)r[o++]=e,e+=a;return r[o]=e,r}},n.length=function(n){return n.length},n.indexImpl=function(n){return function(t){return function(a){return function(r){return r<0||r>=a.length?t:n(a[r])}}}},n.filter=function(n){return function(t){return t.filter(n)}},n.slice=function(n){return function(t){return function(a){return a.slice(n,t)}}},n.take=function(n){return function(t){return n<1?[]:t.slice(0,n)}},n.drop=function(n){return function(t){return n<1?t:t.slice(n)}},n.zipWith=function(n){return function(t){return function(a){for(var r=t.length<a.length?t.length:a.length,e=new Array(r),o=0;o<r;o++)e[o]=n(t[o])(a[o]);return e}}}}(n["Data.Array"]=n["Data.Array"]||{}),function(n){"use strict";n.foldrArray=function(n){return function(t){return function(a){for(var r=t,e=a.length-1;e>=0;e--)r=n(a[e])(r);return r}}},n.foldlArray=function(n){return function(t){return function(a){for(var r=t,e=a.length,o=0;o<e;o++)r=n(r)(a[o]);return r}}}}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(n){"use strict";n.boolConj=function(n){return function(t){return n&&t}},n.boolDisj=function(n){return function(t){return n||t}},n.boolNot=function(n){return!n}}(n["Data.HeytingAlgebra"]=n["Data.HeytingAlgebra"]||{}),function(t){"use strict";var a=n["Data.HeytingAlgebra"],r=(n["Data.Symbol"],n["Data.Unit"],n["Record.Unsafe"],n["Type.Data.Row"],n["Type.Data.RowList"],function(n,t,a,r,e,o){this.conj=n,this.disj=t,this.ff=a,this.implies=r,this.not=e,this.tt=o}),e=function(n){return n.not},o=function(n){return n.disj},i=new r(a.boolConj,a.boolDisj,!1,function(n){return function(t){return o(i)(e(i)(n))(t)}},a.boolNot,!0);t.HeytingAlgebra=r,t.tt=function(n){return n.tt},t.ff=function(n){return n.ff},t.implies=function(n){return n.implies},t.conj=function(n){return n.conj},t.disj=o,t.not=e,t.heytingAlgebraBoolean=i}(n["Data.HeytingAlgebra"]=n["Data.HeytingAlgebra"]||{}),function(t){"use strict";n["Data.Semigroup"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"];t.Semigroup=function(n){this.append=n},t.append=function(n){return n.append}}(n["Data.Semigroup"]=n["Data.Semigroup"]||{}),function(t){"use strict";n["Data.Boolean"],n["Data.Eq"],n["Data.EuclideanRing"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Symbol"],n["Data.Unit"],n["Record.Unsafe"],n["Type.Data.RowList"];t.Monoid=function(n,t){this.Semigroup0=n,this.mempty=t},t.mempty=function(n){return n.mempty}}(n["Data.Monoid"]=n["Data.Monoid"]||{}),function(t){"use strict";(n["Data.Show"]=n["Data.Show"]||{}).showIntImpl=function(n){return n.toString()}}(),function(t){"use strict";var a=n["Data.Show"],r=(n["Data.Symbol"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n){this.show=n}),e=new r(a.showIntImpl);t.Show=r,t.show=function(n){return n.show},t.showInt=e}(n["Data.Show"]=n["Data.Show"]||{}),function(t){"use strict";n["Control.Alt"],n["Control.Alternative"];var a=n["Control.Applicative"],r=n["Control.Apply"],e=n["Control.Bind"],o=(n["Control.Category"],n["Control.Extend"],n["Control.Monad"],n["Control.MonadZero"],n["Control.Plus"],n["Data.Bounded"],n["Data.Eq"],n["Data.Function"],n["Data.Functor"]),i=(n["Data.Functor.Invariant"],n["Data.Monoid"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Show"],n["Data.Unit"],n.Prelude,function(){function n(){}return n.value=new n,n}()),u=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),c=new o.Functor(function(n){return function(t){return t instanceof u?new u(n(t.value0)):i.value}}),l=new r.Apply(function(){return c},function(n){return function(t){if(n instanceof u)return o.map(c)(n.value0)(t);if(n instanceof i)return i.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 67, column 35): "+[n.constructor.name,t.constructor.name])}}),f=new e.Bind(function(){return l},function(n){return function(t){if(n instanceof u)return t(n.value0);if(n instanceof i)return i.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 125, column 33): "+[n.constructor.name,t.constructor.name])}}),s=new a.Applicative(function(){return l},u.create);t.Nothing=i,t.Just=u,t.maybe=function(n){return function(t){return function(a){if(a instanceof i)return n;if(a instanceof u)return t(a.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,a.constructor.name])}}},t.functorMaybe=c,t.applyMaybe=l,t.applicativeMaybe=s,t.bindMaybe=f}(n["Data.Maybe"]=n["Data.Maybe"]||{}),function(t){"use strict";n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"],n["Control.Monad"],n["Data.Bounded"],n["Data.Eq"],n["Data.Functor"];var a=n["Data.HeytingAlgebra"],r=n["Data.Monoid"],e=(n["Data.Ord"],n["Data.Semigroup"]),o=(n["Data.Semiring"],n["Data.Show"],n.Prelude,function(n){return new e.Semigroup(function(t){return function(r){return a.conj(n)(t)(r)}})});t.Conj=function(n){return n},t.semigroupConj=o,t.monoidConj=function(n){return new r.Monoid(function(){return o(n)},a.tt(n))}}(n["Data.Monoid.Conj"]=n["Data.Monoid.Conj"]||{}),function(t){"use strict";n["Control.Semigroupoid"],n["Data.Function"];var a=n["Data.Functor"],r=(n["Data.Monoid.Additive"],n["Data.Monoid.Conj"]),e=(n["Data.Monoid.Disj"],n["Data.Monoid.Dual"],n["Data.Monoid.Endo"],n["Data.Monoid.Multiplicative"],n["Data.Semigroup.First"],n["Data.Semigroup.Last"],n.Prelude,function(n,t){this.unwrap=n,this.wrap=t}),o=function(n){return n.wrap},i=function(n){return n.unwrap},u=new e(function(n){return n},r.Conj);t.unwrap=i,t.wrap=o,t.Newtype=e,t.alaF=function(n){return function(t){return function(r){return function(e){return function(u){return function(u){return function(c){return a.map(t)(i(e))(u(a.map(n)(o(r))(c)))}}}}}}},t.newtypeConj=u}(n["Data.Newtype"]=n["Data.Newtype"]||{}),function(t){"use strict";var a=n["Data.Foldable"],r=(n["Control.Alt"],n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"],n["Control.Category"],n["Control.Plus"],n["Control.Semigroupoid"],n["Data.Eq"],n["Data.Function"],n["Data.Functor"]),e=(n["Data.HeytingAlgebra"],n["Data.Maybe"],n["Data.Maybe.First"],n["Data.Maybe.Last"],n["Data.Monoid"]),o=(n["Data.Monoid.Additive"],n["Data.Monoid.Conj"]),i=(n["Data.Monoid.Disj"],n["Data.Monoid.Dual"],n["Data.Monoid.Endo"],n["Data.Monoid.Multiplicative"],n["Data.Newtype"]),u=(n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"]),c=(n["Data.Semiring"],n["Data.Unit"],n.Prelude,function(n,t,a){this.foldMap=n,this.foldl=t,this.foldr=a}),l=function(n){return n.foldr},f=function(n){return function(t){return function(a){return l(n)(function(n){return function(r){return u.append(t.Semigroup0())(a(n))(r)}})(e.mempty(t))}}},s=new c(function(n){return f(s)(n)},a.foldlArray,a.foldrArray),D=function(n){return n.foldMap};t.Foldable=c,t.foldr=l,t.foldl=function(n){return n.foldl},t.foldMap=D,t.foldMapDefaultR=f,t.all=function(n){return function(t){return i.alaF(r.functorFn)(r.functorFn)(i.newtypeConj)(i.newtypeConj)(o.Conj)(D(n)(o.monoidConj(t)))}},t.foldableArray=s}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(t){"use strict";n["Control.Applicative"],n["Control.Apply"],n["Control.Biapplicative"],n["Control.Biapply"],n["Control.Bind"],n["Control.Comonad"],n["Control.Extend"],n["Control.Lazy"],n["Control.Monad"],n["Control.Semigroupoid"],n["Data.Bifoldable"],n["Data.Bifunctor"],n["Data.Bitraversable"],n["Data.BooleanAlgebra"],n["Data.Bounded"],n["Data.CommutativeRing"],n["Data.Distributive"],n["Data.Eq"],n["Data.Foldable"],n["Data.FoldableWithIndex"],n["Data.Function"],n["Data.Functor"],n["Data.Functor.Invariant"],n["Data.FunctorWithIndex"],n["Data.HeytingAlgebra"],n["Data.Maybe"],n["Data.Maybe.First"],n["Data.Monoid"],n["Data.Newtype"],n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semigroup"],n["Data.Semigroup.Foldable"],n["Data.Semigroup.Traversable"],n["Data.Semiring"],n["Data.Show"],n["Data.Traversable"],n["Data.TraversableWithIndex"],n["Data.Unit"],n.Prelude,n["Type.Equality"];var a=function(){function n(n,t){this.value0=n,this.value1=t}return n.create=function(t){return function(a){return new n(t,a)}},n}();t.Tuple=a}(n["Data.Tuple"]=n["Data.Tuple"]||{}),function(t){"use strict";(n["Partial.Unsafe"]=n["Partial.Unsafe"]||{}).unsafePartial=function(n){return n()}}(),function(t){"use strict";(n["Partial"]=n["Partial"]||{}).crashWith=function(){return function(n){throw new Error(n)}}}(),function(t){"use strict";var a=n.Partial;t.crashWith=a.crashWith}(n.Partial=n.Partial||{}),function(t){"use strict";var a=n["Partial.Unsafe"],r=n.Partial;t.unsafeCrashWith=function(n){return a.unsafePartial(function(t){return r.crashWith(t)(n)})}}(n["Partial.Unsafe"]=n["Partial.Unsafe"]||{}),function(t){"use strict";(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}).unsafeCoerce=function(n){return n}}(),function(t){"use strict";var a=n["Unsafe.Coerce"];t.unsafeCoerce=a.unsafeCoerce}(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}),function(t){"use strict";var a=n["Data.Array"],r=(n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"]),e=(n["Control.Category"],n["Control.Lazy"],n["Control.Monad.Rec.Class"],n["Control.Monad.ST"],n["Control.Monad.ST.Internal"],n["Control.Semigroupoid"],n["Data.Array.NonEmpty.Internal"],n["Data.Array.ST"],n["Data.Array.ST.Iterator"],n["Data.Boolean"],n["Data.Eq"],n["Data.Foldable"],n["Data.Function"]),o=(n["Data.Functor"],n["Data.HeytingAlgebra"],n["Data.Maybe"]),i=(n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semigroup"],n["Data.Semiring"],n["Data.Traversable"],n["Data.Tuple"]),u=(n["Data.Unfoldable"],n["Partial.Unsafe"],n.Prelude,n["Unsafe.Coerce"],a.zipWith(i.Tuple.create)),c=function(n){return[n]},l=a.indexImpl(o.Just.create)(o.Nothing.value),f=e.flip(r.bind(r.bindArray));t.singleton=c,t.head=function(n){return l(n)(0)},t.last=function(n){return l(n)(a.length(n)-1|0)},t.index=l,t.concatMap=f,t.mapMaybe=function(n){return f(function(t){return o.maybe([])(c)(n(t))})},t.mapWithIndex=function(n){return function(t){return a.zipWith(n)(a.range(0)(a.length(t)-1|0))(t)}},t.zip=u,t.length=a.length,t.filter=a.filter,t.take=a.take,t.drop=a.drop}(n["Data.Array"]=n["Data.Array"]||{}),function(t){"use strict";n["Control.Alt"];var a=n["Control.Applicative"],r=n["Control.Apply"],e=n["Control.Bind"],o=(n["Control.Extend"],n["Control.Monad"],n["Control.Semigroupoid"],n["Data.Bifoldable"],n["Data.Bifunctor"],n["Data.Bitraversable"],n["Data.Bounded"],n["Data.Eq"],n["Data.Foldable"],n["Data.FoldableWithIndex"],n["Data.Function"],n["Data.Functor"]),i=(n["Data.Functor.Invariant"],n["Data.FunctorWithIndex"],n["Data.Maybe"]),u=(n["Data.Monoid"],n["Data.Ord"],n["Data.Ordering"],n["Data.Semigroup"],n["Data.Show"],n["Data.Traversable"],n["Data.TraversableWithIndex"],n["Data.Unit"],n.Prelude,function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}()),c=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),l=new o.Functor(function(n){return function(t){if(t instanceof u)return new u(t.value0);if(t instanceof c)return new c(n(t.value0));throw new Error("Failed pattern match at Data.Either (line 38, column 8 - line 38, column 52): "+[t.constructor.name])}}),f=function(n){return function(t){return function(a){if(a instanceof u)return n(a.value0);if(a instanceof c)return t(a.value0);throw new Error("Failed pattern match at Data.Either (line 238, column 1 - line 238, column 64): "+[n.constructor.name,t.constructor.name,a.constructor.name])}}},s=new r.Apply(function(){return l},function(n){return function(t){if(n instanceof u)return new u(n.value0);if(n instanceof c)return o.map(l)(n.value0)(t);throw new Error("Failed pattern match at Data.Either (line 82, column 1 - line 82, column 41): "+[n.constructor.name,t.constructor.name])}}),D=new e.Bind(function(){return s},f(function(n){return function(t){return new u(n)}})(function(n){return function(t){return t(n)}})),d=new a.Applicative(function(){return s},c.create);t.Left=u,t.Right=c,t.either=f,t.note=function(n){return i.maybe(new u(n))(c.create)},t.functorEither=l,t.applyEither=s,t.applicativeEither=d,t.bindEither=D}(n["Data.Either"]=n["Data.Either"]||{}),function(t){"use strict";(n["Data.Int"]=n["Data.Int"]||{}).fromStringAsImpl=function(n){return function(t){return function(a){var r;r=a<11?"[0-"+(a-1).toString()+"]":11===a?"[0-9a]":"[0-9a-"+String.fromCharCode(86+a)+"]";var e=new RegExp("^[\\+\\-]?"+r+"+$","i");return function(r){if(e.test(r)){var o=parseInt(r,a);return(0|o)===o?n(o):t}return t}}}}}(),function(t){"use strict";var a=n["Data.Int"],r=(n["Control.Category"],n["Control.Semigroupoid"],n["Data.Boolean"],n["Data.Bounded"],n["Data.CommutativeRing"],n["Data.DivisionRing"],n["Data.Eq"],n["Data.EuclideanRing"],n["Data.HeytingAlgebra"],n["Data.Int.Bits"],n["Data.Maybe"]),e=(n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semiring"],n["Data.Show"],n.Global,n.Math,n.Prelude,a.fromStringAsImpl(r.Just.create)(r.Nothing.value)),o=e(10);t.fromString=o,t.fromStringAs=e}(n["Data.Int"]=n["Data.Int"]||{}),function(n){"use strict";n.split=function(n){return function(t){return t.split(n)}},n.trim=function(n){return n.trim()}}(n["Data.String.Common"]=n["Data.String.Common"]||{}),function(t){"use strict";var a=n["Data.String.Common"];n["Data.Eq"],n["Data.Ordering"],n["Data.String.Pattern"],n.Prelude;t.split=a.split,t.trim=a.trim}(n["Data.String.Common"]=n["Data.String.Common"]||{}),function(t){"use strict";var a=n["Control.Applicative"],r=n["Control.Bind"],e=n["Data.Array"],o=n["Data.Either"],i=n["Data.Foldable"],u=n["Data.HeytingAlgebra"],c=n["Data.Int"],l=n["Data.Maybe"],f=(n["Data.Ord"],n["Data.Semiring"],n["Data.Show"]),s=(n["Data.String"],n["Data.String.Common"]),D=(n["Data.String.Pattern"],n["Data.Tuple"]),d=n["Partial.Unsafe"],p=(n.Prelude,function(n){var t=s.split("\n")(s.trim(n));return r.bind(o.bindEither)(o.note("n")(r.bind(l.bindMaybe)(e.head(t))(c.fromString)))(function(n){return r.bind(o.bindEither)(o.note("hs")(r.bind(l.bindMaybe)(e.last(t))(function(n){return a.pure(l.applicativeMaybe)(e.mapMaybe(c.fromString)(s.split(" ")(n)))})))(function(n){return a.pure(o.applicativeEither)(f.show(f.showInt)((t=n,r=e.zip(e.drop(1)(t))(t),1+e.length(e.filter(function(n){return n.value1.value1<=n.value1.value0&&i.all(i.foldableArray)(u.heytingAlgebraBoolean)(function(t){return t<=n.value1.value0})(e.take(n.value0+1|0)(t))})(e.mapWithIndex(D.Tuple.create)(r)))|0)));var t,r})})});t.solve=function(n){var t=p(n);if(t instanceof o.Left)return d.unsafeCrashWith(t.value0);if(t instanceof o.Right)return t.value0;throw new Error("Failed pattern match at AtCoder.ABC124.B (line 17, column 3 - line 19, column 24): "+[t.constructor.name])}}(n["AtCoder.ABC124.B"]=n["AtCoder.ABC124.B"]||{}),function(t){"use strict";(n["Effect.Console"]=n["Effect.Console"]||{}).log=function(n){return function(){return console.log(n),{}}}}(),function(t){"use strict";var a=n["Effect.Console"];n["Data.Show"],n["Data.Unit"],n.Effect;t.log=a.log}(n["Effect.Console"]=n["Effect.Console"]||{}),function(t){"use strict";n["Node.Encoding"];var a=n["Data.Show"],r=(n.Prelude,function(){function n(){}return n.value=new n,n}()),e=function(){function n(){}return n.value=new n,n}(),o=function(){function n(){}return n.value=new n,n}(),i=function(){function n(){}return n.value=new n,n}(),u=function(){function n(){}return n.value=new n,n}(),c=function(){function n(){}return n.value=new n,n}(),l=function(){function n(){}return n.value=new n,n}(),f=function(){function n(){}return n.value=new n,n}(),s=new a.Show(function(n){if(n instanceof r)return"ASCII";if(n instanceof e)return"UTF8";if(n instanceof o)return"UTF16LE";if(n instanceof i)return"UCS2";if(n instanceof u)return"Base64";if(n instanceof c)return"Latin1";if(n instanceof l)return"Binary";if(n instanceof f)return"Hex";throw new Error("Failed pattern match at Node.Encoding (line 19, column 1 - line 19, column 39): "+[n.constructor.name])});t.ASCII=r,t.UTF8=e,t.UTF16LE=o,t.UCS2=i,t.Base64=u,t.Latin1=c,t.Binary=l,t.Hex=f,t.showEncoding=s}(n["Node.Encoding"]=n["Node.Encoding"]||{}),function(t){"use strict";(n["Node.FS.Internal"]=n["Node.FS.Internal"]||{}).unsafeRequireFS=require("fs")}(),function(t){"use strict";var a=n["Node.FS.Internal"],r=(n.Effect,n.Prelude,n["Unsafe.Coerce"].unsafeCoerce);t.mkEffect=r,t.unsafeRequireFS=a.unsafeRequireFS}(n["Node.FS.Internal"]=n["Node.FS.Internal"]||{}),function(t){"use strict";n["Control.Bind"],n["Control.Semigroupoid"],n["Data.DateTime"],n["Data.DateTime.Instant"],n["Data.EuclideanRing"],n["Data.Function"],n["Data.Function.Uncurried"],n["Data.Functor"],n["Data.Int"],n["Data.Maybe"],n["Data.Nullable"];var a=n["Data.Show"],r=(n["Data.Time.Duration"],n.Effect,n["Node.Buffer"],n["Node.Encoding"]),e=(n["Node.FS"],n["Node.FS.Internal"]),o=(n["Node.FS.Perms"],n["Node.FS.Stats"],n["Node.Path"],n.Prelude,e.unsafeRequireFS);t.readTextFile=function(n){return function(t){return e.mkEffect(function(e){return o.readFileSync(t,{encoding:a.show(r.showEncoding)(n)})})}}}(n["Node.FS.Sync"]=n["Node.FS.Sync"]||{}),function(t){"use strict";var a=n["AtCoder.ABC124.B"],r=(n["Control.Applicative"],n["Control.Bind"],n.Effect,n["Effect.Console"]),e=n["Node.Encoding"],o=n["Node.FS.Sync"];n.Prelude;t.main=function(){var n=o.readTextFile(e.UTF8.value)("/dev/stdin")(),t=a.solve(n);return r.log(t)()}}(n.Main=n.Main||{}),n.Main.main();
},{}]},{},["Focm"], null)

Measured memory_bytes: 7884