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(n){"use strict";n["Control.Semigroupoid"]=n["Control.Semigroupoid"]||{};var t=n["Control.Semigroupoid"],r=function(n){this.compose=n},e=new r(function(n){return function(t){return function(r){return n(t(r))}}});t.compose=function(n){return n.compose},t.Semigroupoid=r,t.semigroupoidFn=e}(n),function(n){"use strict";n["Control.Category"]=n["Control.Category"]||{};var t=n["Control.Category"],r=n["Control.Semigroupoid"],e=function(n,t){this.Semigroupoid0=n,this.identity=t},u=new e(function(){return r.semigroupoidFn},function(n){return n});t.Category=e,t.identity=function(n){return n.identity},t.categoryFn=u}(n),function(n){"use strict";n["Data.Function"]=n["Data.Function"]||{};var t=n["Data.Function"];t.flip=function(n){return function(t){return function(r){return n(r)(t)}}},t.const=function(n){return function(t){return n}}}(n),function(t){"use strict";(n["Data.Unit"]=n["Data.Unit"]||{}).unit={}}(),function(n){"use strict";n["Data.Unit"]=n["Data.Unit"]||{};var t=n["Data.Unit"],r=n["Data.Unit"];t.unit=r.unit}(n),function(n){"use strict";n["Data.Functor"]=n["Data.Functor"]||{};var t=n["Data.Functor"],r=n["Data.Function"],e=n["Data.Unit"],u=function(n){return n.map};t.Functor=function(n){this.map=n},t.map=u,t.void=function(n){return u(n)(r.const(e.unit))}}(n),function(n){"use strict";n["Control.Apply"]=n["Control.Apply"]||{};var t=n["Control.Apply"],r=n["Control.Category"],e=n["Data.Function"],u=n["Data.Functor"],o=function(n){return n.apply};t.Apply=function(n,t){this.Functor0=n,this.apply=t},t.apply=o,t.applySecond=function(n){return function(t){return function(i){return o(n)(u.map(n.Functor0())(e.const(r.identity(r.categoryFn)))(t))(i)}}}}(n),function(n){"use strict";n["Control.Applicative"]=n["Control.Applicative"]||{};var t=n["Control.Applicative"],r=n["Control.Apply"],e=function(n){return n.pure};t.Applicative=function(n,t){this.Apply0=n,this.pure=t},t.pure=e,t.liftA1=function(n){return function(t){return function(u){return r.apply(n.Apply0())(e(n)(t))(u)}}}}(n),function(n){"use strict";n["Control.Bind"]=n["Control.Bind"]||{};var t=n["Control.Bind"],r=n["Data.Function"],e=function(n){return n.bind},u=function(n){return r.flip(e(n))};t.Bind=function(n,t){this.Apply0=n,this.bind=t},t.bind=e,t.bindFlipped=u,t.composeKleisliFlipped=function(n){return function(t){return function(r){return function(e){return u(n)(t)(r(e))}}}}}(n),function(t){"use strict";(n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{}).for=function(n){return function(t){return function(r){return function(){for(var e=n;e<t;e++)r(e)()}}}}}(),function(n){"use strict";n["Control.Monad.ST.Internal"]=n["Control.Monad.ST.Internal"]||{};var t=n["Control.Monad.ST.Internal"],r=n["Control.Monad.ST.Internal"];t.for=r.for}(n),function(n){"use strict";n.length=function(n){return n.length},n.indexImpl=function(n){return function(t){return function(r){return function(e){return e<0||e>=r.length?t:n(r[e])}}}},n.sortImpl=function(n){return function(t){return t.slice().sort(function(t,r){return n(t)(r)})}},n.slice=function(n){return function(t){return function(r){return r.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["Data.Array"]=n["Data.Array"]||{}),function(n){"use strict";n["Data.Maybe"]=n["Data.Maybe"]||{};var t=n["Data.Maybe"],r=n["Control.Apply"],e=n["Control.Bind"],u=n["Control.Category"],o=n["Data.Functor"],i=n["Data.Unit"],a=function(){function n(){}return n.value=new n,n}(),c=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),f=new o.Functor(function(n){return function(t){return t instanceof c?new c(n(t.value0)):a.value}}),l=new r.Apply(function(){return f},function(n){return function(t){if(n instanceof c)return o.map(f)(n.value0)(t);if(n instanceof a)return a.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 67, column 35): "+[n.constructor.name,t.constructor.name])}}),s=new e.Bind(function(){return l},function(n){return function(t){if(n instanceof c)return t(n.value0);if(n instanceof a)return a.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 125, column 33): "+[n.constructor.name,t.constructor.name])}});t.Nothing=a,t.Just=c,t.maybe=function(n){return function(t){return function(r){if(r instanceof a)return n;if(r instanceof c)return t(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,r.constructor.name])}}},t["fromMaybe'"]=function(n){return(t=n,function(n){return function(r){if(r instanceof a)return t(i.unit);if(r instanceof c)return n(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 230, column 1 - line 230, column 62): "+[t.constructor.name,n.constructor.name,r.constructor.name])}})(u.identity(u.categoryFn));var t},t.functorMaybe=f,t.applyMaybe=l,t.bindMaybe=s}(n),function(t){"use strict";(n["Data.Eq"]=n["Data.Eq"]||{}).refEq=function(n){return function(t){return n===t}}}(),function(n){"use strict";n["Data.Eq"]=n["Data.Eq"]||{};var t=n["Data.Eq"],r=function(n){this.eq=n},e=new r(n["Data.Eq"].refEq);t.Eq=r,t.eq=function(n){return n.eq},t.eqInt=e}(n),function(t){"use strict";(n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{}).unsafeCompareImpl=function(n){return function(t){return function(r){return function(e){return function(u){return e<u?n:e===u?t:r}}}}}}(),function(n){"use strict";n["Data.Ordering"]=n["Data.Ordering"]||{};var t=n["Data.Ordering"],r=function(){function n(){}return n.value=new n,n}(),e=function(){function n(){}return n.value=new n,n}(),u=function(){function n(){}return n.value=new n,n}();t.LT=r,t.GT=e,t.EQ=u}(n),function(n){"use strict";n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{};var t=n["Data.Ord.Unsafe"],r=n["Data.Ord.Unsafe"],e=n["Data.Ordering"],u=r.unsafeCompareImpl(e.LT.value)(e.EQ.value)(e.GT.value);t.unsafeCompare=u}(n),function(n){"use strict";n["Data.Ord"]=n["Data.Ord"]||{};var t=n["Data.Ord"],r=n["Data.Eq"],e=n["Data.Ord.Unsafe"],u=n["Data.Ordering"],o=function(n,t){this.Eq0=n,this.compare=t},i=new o(function(){return r.eqInt},e.unsafeCompare),a=function(n){return n.compare};t.Ord=o,t.compare=a,t.max=function(n){return function(t){return function(r){var e=a(n)(t)(r);if(e instanceof u.LT)return r;if(e instanceof u.EQ)return t;if(e instanceof u.GT)return t;throw new Error("Failed pattern match at Data.Ord (line 128, column 3 - line 131, column 12): "+[e.constructor.name])}}},t.ordInt=i}(n),function(n){"use strict";n["Data.Array"]=n["Data.Array"]||{};var t=n["Data.Array"],r=n["Data.Array"],e=n["Data.Maybe"],u=n["Data.Ord"],o=n["Data.Ordering"],i=function(n){return function(t){return r.sortImpl(function(t){return function(r){var e=n(t)(r);if(e instanceof o.GT)return 1;if(e instanceof o.EQ)return 0;if(e instanceof o.LT)return-1;throw new Error("Failed pattern match at Data.Array (line 702, column 15 - line 707, column 1): "+[e.constructor.name])}})(t)}},a=r.indexImpl(e.Just.create)(e.Nothing.value);t.head=function(n){return a(n)(0)},t.last=function(n){return a(n)(r.length(n)-1|0)},t.index=a,t.sort=function(n){return function(t){return i(u.compare(n))(t)}},t.sortBy=i,t.take=r.take,t.drop=r.drop}(n),function(n){"use strict";n["Data.Either"]=n["Data.Either"]||{};var t=n["Data.Either"],r=n["Control.Applicative"],e=n["Control.Apply"],u=n["Control.Bind"],o=n["Data.Functor"],i=n["Data.Maybe"],a=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}(),f=new o.Functor(function(n){return function(t){if(t instanceof a)return new a(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])}}),l=function(n){return function(t){return function(r){if(r instanceof a)return n(r.value0);if(r instanceof c)return t(r.value0);throw new Error("Failed pattern match at Data.Either (line 238, column 1 - line 238, column 64): "+[n.constructor.name,t.constructor.name,r.constructor.name])}}},s=new e.Apply(function(){return f},function(n){return function(t){if(n instanceof a)return new a(n.value0);if(n instanceof c)return o.map(f)(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])}}),p=new u.Bind(function(){return s},l(function(n){return function(t){return new a(n)}})(function(n){return function(t){return t(n)}})),d=new r.Applicative(function(){return s},c.create);t.Left=a,t.Right=c,t.either=l,t.note=function(n){return i.maybe(new a(n))(c.create)},t.functorEither=f,t.applyEither=s,t.applicativeEither=d,t.bindEither=p}(n),function(t){"use strict";(n["Data.Int"]=n["Data.Int"]||{}).fromStringAsImpl=function(n){return function(t){return function(r){var e;e=r<11?"[0-"+(r-1).toString()+"]":11===r?"[0-9a]":"[0-9a-"+String.fromCharCode(86+r)+"]";var u=new RegExp("^[\\+\\-]?"+e+"+$","i");return function(e){if(u.test(e)){var o=parseInt(e,r);return(0|o)===o?n(o):t}return t}}}}}(),function(n){"use strict";n["Data.Int"]=n["Data.Int"]||{};var t=n["Data.Int"],r=n["Data.Int"],e=n["Data.Maybe"],u=r.fromStringAsImpl(e.Just.create)(e.Nothing.value),o=u(10);t.fromString=o,t.fromStringAs=u}(n),function(n){"use strict";n["Data.Monoid"]=n["Data.Monoid"]||{};var t=n["Data.Monoid"];t.Monoid=function(n,t){this.Semigroup0=n,this.mempty=t},t.mempty=function(n){return n.mempty}}(n),function(t){"use strict";(n["Data.Show"]=n["Data.Show"]||{}).showIntImpl=function(n){return n.toString()}}(),function(n){"use strict";n["Data.Show"]=n["Data.Show"]||{};var t=n["Data.Show"],r=function(n){this.show=n},e=new r(n["Data.Show"].showIntImpl);t.Show=r,t.show=function(n){return n.show},t.showInt=e}(n),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(n){"use strict";n["Data.String.Common"]=n["Data.String.Common"]||{};var t=n["Data.String.Common"],r=n["Data.String.Common"];t.split=r.split,t.trim=r.trim}(n),function(n){"use strict";n.pureE=function(n){return function(){return n}},n.bindE=function(n){return function(t){return function(){return t(n())()}}}}(n.Effect=n.Effect||{}),function(n){"use strict";n["Control.Monad"]=n["Control.Monad"]||{};var t=n["Control.Monad"],r=n["Control.Applicative"],e=n["Control.Bind"];t.Monad=function(n,t){this.Applicative0=n,this.Bind1=t},t.ap=function(n){return function(t){return function(u){return e.bind(n.Bind1())(t)(function(t){return e.bind(n.Bind1())(u)(function(e){return r.pure(n.Applicative0())(t(e))})})}}}}(n),function(n){"use strict";n.Effect=n.Effect||{};var t=n.Effect,r=n.Effect,e=n["Control.Applicative"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],a=n["Data.Functor"],c=new i.Monad(function(){return s},function(){return f}),f=new o.Bind(function(){return l},r.bindE),l=new u.Apply(function(){return p},i.ap(c)),s=new e.Applicative(function(){return l},r.pureE),p=new a.Functor(e.liftA1(s));t.functorEffect=p,t.applyEffect=l,t.applicativeEffect=s,t.bindEffect=f,t.monadEffect=c}(n),function(n){"use strict";var t=function(){var n={},t="Pure",r="Throw",e="Catch",u="Sync",o="Async",i="Bind",a="Bracket",c="Fork",f="Sequential",l="Map",s="Apply",p="Alt",d="Cons",m="Resume",h="Release",w="Finalizer",v="Finalized",g="Forked";function E(n,t,r,e){this.tag=n,this._1=t,this._2=r,this._3=e}function D(n){var t=function(t,r,e){return new E(n,t,r,e)};return t.tag=n,t}function C(n){return new E(t,void 0)}function y(n){try{n()}catch(t){setTimeout(function(){throw t},0)}}function b(n,t,r){try{return t(r())}catch(e){return n(e)}}function A(n,t,r){try{return t(r)()}catch(e){return r(n(e))(),C}}var _=function(){var n=1024,t=0,r=0,e=new Array(n),u=!1;function o(){var o;for(u=!0;0!==t;)t--,o=e[r],e[r]=void 0,r=(r+1)%n,o();u=!1}return{isDraining:function(){return u},enqueue:function(i){var a;t===n&&(a=u,o(),u=a),e[(r+t)%n]=i,t++,u||o()}}}();var S=0,F=1,k=2,P=3,M=4,I=5,O=6;function U(n,l,s){var p=0,g=S,D=s,C=null,B=null,N=null,L=null,q=null,R=0,j=0,x=null,W=!0;function z(s){for(var j,K,G;;)switch(j=null,K=null,G=null,g){case k:g=F,D=N(D),null===L?N=null:(N=L._1,L=L._2);break;case P:n.isLeft(D)?(g=I,C=D,D=null):null===N?g=I:(g=k,D=n.fromRight(D));break;case F:switch(D.tag){case i:N&&(L=new E(d,N,L)),N=D._2,g=F,D=D._1;break;case t:null===N?(g=I,D=n.right(D._1)):(g=k,D=D._1);break;case u:g=P,D=b(n.left,n.right,D._1);break;case o:return g=M,void(D=A(n.left,D._1,function(n){return function(){p===s&&(p++,_.enqueue(function(){p===s+1&&(g=P,D=n,z(p))}))}}));case r:g=I,C=n.left(D._1),D=null;break;case e:q=new E(d,D,null===N?q:new E(d,new E(m,N,L),q,B),B),N=null,L=null,g=F,D=D._1;break;case a:R++,q=new E(d,D,null===N?q:new E(d,new E(m,N,L),q,B),B),N=null,L=null,g=F,D=D._1;break;case c:g=P,j=U(n,l,D._2),l&&l.register(j),D._1&&j.run(),D=n.right(j);break;case f:g=F,D=T(n,l,D._1)}break;case I:if(N=null,L=null,null===q)g=O,D=B||C||D;else switch(j=q._3,G=q._1,q=q._2,G.tag){case e:B&&B!==j&&0===R?g=I:C&&(g=F,D=G._2(n.fromLeft(C)),C=null);break;case m:B&&B!==j&&0===R||C?g=I:(N=G._1,L=G._2,g=k,D=n.fromRight(D));break;case a:R--,null===C&&(K=n.fromRight(D),q=new E(d,new E(h,G._2,K),q,j),(B===j||R>0)&&(g=F,D=G._3(K)));break;case h:q=new E(d,new E(v,D,C),q,B),g=F,D=B&&B!==j&&0===R?G._1.killed(n.fromLeft(B))(G._2):C?G._1.failed(n.fromLeft(C))(G._2):G._1.completed(n.fromRight(D))(G._2),C=null,R++;break;case w:R++,q=new E(d,new E(v,D,C),q,B),g=F,D=G._1;break;case v:R--,g=I,D=G._1,C=G._2}break;case O:for(var J in x)x.hasOwnProperty(J)&&(W=W&&x[J].rethrow,y(x[J].handler(D)));return x=null,void(B&&C?setTimeout(function(){throw n.fromLeft(C)},0):n.isLeft(D)&&W&&setTimeout(function(){if(W)throw n.fromLeft(D)},0));case S:g=F;break;case M:return}}function K(n){return function(){if(g===O)return W=W&&n.rethrow,n.handler(D)(),function(){};var t=j++;return(x=x||{})[t]=n,function(){null!==x&&delete x[t]}}}return{kill:function(t,r){return function(){if(g===O)return r(n.right(void 0))(),function(){};var e=K({rethrow:!1,handler:function(){return r(n.right(void 0))}})();switch(g){case S:B=n.left(t),g=O,D=B,z(p);break;case M:null===B&&(B=n.left(t)),0===R&&(g===M&&(q=new E(d,new E(w,D(t)),q,B)),g=I,D=null,C=null,z(++p));break;default:null===B&&(B=n.left(t)),0===R&&(g=I,D=null,C=null)}return e}},join:function(n){return function(){var t=K({rethrow:!1,handler:n})();return g===S&&z(p),t}},onComplete:K,isSuspended:function(){return g===S},run:function(){g===S&&(_.isDraining()?z(p):_.enqueue(function(){z(p)}))}}}function B(t,r,e,u){var i=0,a={},c=0,f={},m=new Error("[ParAff] Early exit"),h=null,w=n;function v(r,e,u){var o,i,c=e,f=null,m=null,h=0,w={};n:for(;;)switch(o=null,c.tag){case g:if(c._3===n&&(o=a[c._1],w[h++]=o.kill(r,function(n){return function(){0===--h&&u(n)()}})),null===f)break n;c=f._2,null===m?f=null:(f=m._1,m=m._2);break;case l:c=c._2;break;case s:case p:f&&(m=new E(d,f,m)),f=c,c=c._1}if(0===h)u(t.right(void 0))();else for(i=0,o=h;i<o;i++)w[i]=w[i]();return w}function D(r){return function(e){return function(){delete a[r._1],r._3=e,function r(e,o,i){var a,d,w,g,E,D;for(t.isLeft(e)?(a=e,d=null):(d=e,a=null);;){if(w=null,g=null,E=null,D=null,null!==h)return;if(null===o)return void u(a||d)();if(o._3!==n)return;switch(o.tag){case l:null===a?(o._3=t.right(o._1(t.fromRight(d))),d=o._3):o._3=a;break;case s:if(w=o._1._3,g=o._2._3,a){if(o._3=a,E=!0,D=c++,f[D]=v(m,a===w?o._2:o._1,function(){return function(){delete f[D],E?E=!1:null===i?r(a,null,null):r(a,i._1,i._2)}}),E)return void(E=!1)}else{if(w===n||g===n)return;d=t.right(t.fromRight(w)(t.fromRight(g))),o._3=d}break;case p:if(w=o._1._3,g=o._2._3,w===n&&t.isLeft(g)||g===n&&t.isLeft(w))return;if(w!==n&&t.isLeft(w)&&g!==n&&t.isLeft(g))a=d===w?g:w,d=null,o._3=a;else if(o._3=d,E=!0,D=c++,f[D]=v(m,d===w?o._2:o._1,function(){return function(){delete f[D],E?E=!1:null===i?r(d,null,null):r(d,i._1,i._2)}}),E)return void(E=!1)}null===i?o=null:(o=i._1,i=i._2)}}(e,r._2._1,r._2._2)}}}return function(){var u,o,c=F,f=e,m=null,h=null;n:for(;;)switch(u=null,o=null,c){case F:switch(f.tag){case l:m&&(h=new E(d,m,h)),m=new E(l,f._1,n,n),f=f._2;break;case s:m&&(h=new E(d,m,h)),m=new E(s,n,f._2,n),f=f._1;break;case p:m&&(h=new E(d,m,h)),m=new E(p,n,f._2,n),f=f._1;break;default:o=i++,c=I,u=f,f=new E(g,o,new E(d,m,h),n),(u=U(t,r,u)).onComplete({rethrow:!1,handler:D(f)})(),a[o]=u,r&&r.register(u)}break;case I:if(null===m)break n;m._1===n?(m._1=f,c=F,f=m._2,m._2=n):(m._2=f,f=m,null===h?m=null:(m=h._1,h=h._2))}for(w=f,o=0;o<i;o++)a[o].run()}(),function(n){return new E(o,function(r){return function(){return function(n,r){var e;for(var u in h=t.left(n),f)if(f.hasOwnProperty(u))for(u in e=f[u])e.hasOwnProperty(u)&&e[u]();f=null;var i=v(n,w,r);return function(n){return new E(o,function(n){return function(){for(var n in i)i.hasOwnProperty(n)&&i[n]();return C}})}}(n,r)}})}}function T(n,t,r){return new E(o,function(e){return function(){return B(n,t,r,e)}})}return E.EMPTY=n,E.Pure=D(t),E.Throw=D(r),E.Catch=D(e),E.Sync=D(u),E.Async=D(o),E.Bind=D(i),E.Bracket=D(a),E.Fork=D(c),E.Seq=D(f),E.ParMap=D(l),E.ParApply=D(s),E.ParAlt=D(p),E.Fiber=U,E.Supervisor=function(n){var t={},r=0,e=0;return{register:function(n){var u=r++;n.onComplete({rethrow:!0,handler:function(n){return function(){e--,delete t[u]}}}),t[u]=n,e++},isEmpty:function(){return 0===e},killAll:function(o,i){return function(){if(0===e)return i();var a=0,c={};function f(r){c[r]=t[r].kill(o,function(t){return function(){delete c[r],a--,n.isLeft(t)&&n.fromLeft(t)&&setTimeout(function(){throw n.fromLeft(t)},0),0===a&&i()}})()}for(var l in t)t.hasOwnProperty(l)&&(a++,f(l));return t={},r=0,e=0,function(n){return new E(u,function(){for(var n in c)c.hasOwnProperty(n)&&c[n]()})}}}}},E.Scheduler=_,E.nonCanceler=C,E}();n._pure=t.Pure,n._map=function(n){return function(r){return r.tag===t.Pure.tag?t.Pure(n(r._1)):t.Bind(r,function(r){return t.Pure(n(r))})}},n._bind=function(n){return function(r){return t.Bind(n,r)}},n._liftEffect=t.Sync,n._parAffMap=function(n){return function(r){return t.ParMap(n,r)}},n._parAffApply=function(n){return function(r){return t.ParApply(n,r)}},n.makeAff=t.Async,n._makeFiber=function(n,r){return function(){return t.Fiber(n,null,r)}},n._sequential=t.Seq}(n["Effect.Aff"]=n["Effect.Aff"]||{}),function(n){"use strict";n["Control.Parallel.Class"]=n["Control.Parallel.Class"]||{};var t=n["Control.Parallel.Class"];t.parallel=function(n){return n.parallel},t.sequential=function(n){return n.sequential},t.Parallel=function(n,t,r,e){this.Applicative1=n,this.Monad0=t,this.parallel=r,this.sequential=e}}(n),function(n){"use strict";n.foldrArray=function(n){return function(t){return function(r){for(var e=t,u=r.length-1;u>=0;u--)e=n(r[u])(e);return e}}},n.foldlArray=function(n){return function(t){return function(r){for(var e=t,u=r.length,o=0;o<u;o++)e=n(e)(r[o]);return e}}}}(n["Data.Foldable"]=n["Data.Foldable"]||{}),function(n){"use strict";n["Data.Semigroup"]=n["Data.Semigroup"]||{};var t=n["Data.Semigroup"];t.Semigroup=function(n){this.append=n},t.append=function(n){return n.append}}(n),function(n){"use strict";n["Data.Foldable"]=n["Data.Foldable"]||{};var t=n["Data.Foldable"],r=n["Data.Foldable"],e=n["Control.Applicative"],u=n["Control.Apply"],o=n["Data.Monoid"],i=n["Data.Semigroup"],a=n["Data.Unit"],c=function(n,t,r){this.foldMap=n,this.foldl=t,this.foldr=r},f=function(n){return n.foldr},l=function(n){return function(t){return function(r){return f(n)(function(n){return function(e){return i.append(t.Semigroup0())(r(n))(e)}})(o.mempty(t))}}},s=new c(function(n){return l(s)(n)},r.foldlArray,r.foldrArray);t.Foldable=c,t.foldr=f,t.foldl=function(n){return n.foldl},t.foldMap=function(n){return n.foldMap},t.foldMapDefaultR=l,t.traverse_=function(n){return function(t){return function(r){return f(t)(function(t){return u.applySecond(n.Apply0())(r(t))})(e.pure(n)(a.unit))}}},t.foldableArray=s}(n),function(n){"use strict";n["Control.Parallel"]=n["Control.Parallel"]||{};var t=n["Control.Parallel"],r=n["Control.Category"],e=n["Control.Parallel.Class"],u=n["Data.Foldable"],o=function(n){return function(t){return function(r){return function(o){return e.sequential(n)(u.traverse_(n.Applicative1())(t)(function(t){return e.parallel(n)(r(t))})(o))}}}};t.parTraverse_=o,t.parSequence_=function(n){return function(t){return o(n)(t)(r.identity(r.categoryFn))}}}(n),function(n){"use strict";n["Effect.Class"]=n["Effect.Class"]||{};var t=n["Effect.Class"];t.liftEffect=function(n){return n.liftEffect},t.MonadEffect=function(n,t){this.Monad0=n,this.liftEffect=t}}(n),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(n){"use strict";n.Partial=n.Partial||{};var t=n.Partial,r=n.Partial;t.crashWith=r.crashWith}(n),function(n){"use strict";n["Partial.Unsafe"]=n["Partial.Unsafe"]||{};var t=n["Partial.Unsafe"],r=n["Partial.Unsafe"],e=n.Partial;t.unsafeCrashWith=function(n){return r.unsafePartial(function(t){return e.crashWith(t)(n)})}}(n),function(t){"use strict";(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}).unsafeCoerce=function(n){return n}}(),function(n){"use strict";n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{};var t=n["Unsafe.Coerce"],r=n["Unsafe.Coerce"];t.unsafeCoerce=r.unsafeCoerce}(n),function(n){"use strict";n["Effect.Aff"]=n["Effect.Aff"]||{};var t=n["Effect.Aff"],r=n["Effect.Aff"],e=n["Control.Applicative"],u=n["Control.Apply"],o=n["Control.Bind"],i=n["Control.Monad"],a=n["Control.Parallel"],c=n["Control.Parallel.Class"],f=n["Data.Either"],l=n["Data.Foldable"],s=n["Data.Function"],p=n["Data.Functor"],d=n["Data.Monoid"],m=n["Data.Semigroup"],h=n["Data.Unit"],w=n.Effect,v=n["Effect.Class"],g=n["Partial.Unsafe"],E=n["Unsafe.Coerce"],D=new p.Functor(r._parAffMap),C=new p.Functor(r._map),y={isLeft:function(n){if(n instanceof f.Left)return!0;if(n instanceof f.Right)return!1;throw new Error("Failed pattern match at Effect.Aff (line 390, column 12 - line 392, column 20): "+[n.constructor.name])},fromLeft:function(n){if(n instanceof f.Left)return n.value0;if(n instanceof f.Right)return g.unsafeCrashWith("unsafeFromLeft: Right");throw new Error("Failed pattern match at Effect.Aff (line 395, column 20 - line 399, column 3): "+[n.constructor.name])},fromRight:function(n){if(n instanceof f.Right)return n.value0;if(n instanceof f.Left)return g.unsafeCrashWith("unsafeFromRight: Left");throw new Error("Failed pattern match at Effect.Aff (line 400, column 21 - line 402, column 31): "+[n.constructor.name])},left:f.Left.create,right:f.Right.create},b=function(n){return function(){var t=function(n){return r._makeFiber(y,n)}(n)();return t.run(),t}},A=new u.Apply(function(){return D},r._parAffApply),_=new i.Monad(function(){return k},function(){return S}),S=new o.Bind(function(){return F},r._bind),F=new u.Apply(function(){return C},i.ap(_)),k=new e.Applicative(function(){return F},r._pure),P=new v.MonadEffect(function(){return _},r._liftEffect),M=new c.Parallel(function(){return I},function(){return _},E.unsafeCoerce,r._sequential),I=new e.Applicative(function(){return A},function(n){return c.parallel(M)(e.pure(k)(n))}),O=new m.Semigroup(function(n){return function(t){return function(r){return a.parSequence_(M)(l.foldableArray)([n(r),t(r)])}}}),U=s.const(e.pure(k)(h.unit)),B=new d.Monoid(function(){return O},U);t.launchAff=b,t.launchAff_=function(n){return p.void(w.functorEffect)(b(n))},t.nonCanceler=U,t.functorAff=C,t.applyAff=F,t.applicativeAff=k,t.bindAff=S,t.monadAff=_,t.monadEffectAff=P,t.functorParAff=D,t.applyParAff=A,t.applicativeParAff=I,t.parallelAff=M,t.semigroupCanceler=O,t.monoidCanceler=B,t.makeAff=r.makeAff}(n),function(n){"use strict";n.new=function(n){return function(){return{value:n}}},n.read=function(n){return function(){return n.value}},n.write=function(n){return function(t){return function(){return t.value=n,{}}}}}(n["Effect.Ref"]=n["Effect.Ref"]||{}),function(n){"use strict";n["Effect.Ref"]=n["Effect.Ref"]||{};var t=n["Effect.Ref"],r=n["Effect.Ref"];t.new=r.new,t.read=r.read,t.write=r.write}(n),function(t){"use strict";(n["Foreign.Object"]=n["Foreign.Object"]||{}).toArrayWithKey=function(n){return function(t){var r=[];for(var e in t)hasOwnProperty.call(t,e)&&r.push(n(e)(t[e]));return r}}}(),function(n){"use strict";n["Foreign.Object"]=n["Foreign.Object"]||{};var t=n["Foreign.Object"],r=n["Foreign.Object"].toArrayWithKey(function(n){return function(n){return n}});t.values=r}(n),function(n){"use strict";n.new=function(){return{}},n.peekImpl=function(n){return function(t){return function(r){return function(e){return function(){return{}.hasOwnProperty.call(e,r)?n(e[r]):t}}}}},n.poke=function(n){return function(t){return function(r){return function(){return r[n]=t,r}}}}}(n["Foreign.Object.ST"]=n["Foreign.Object.ST"]||{}),function(n){"use strict";n["Foreign.Object.ST"]=n["Foreign.Object.ST"]||{};var t=n["Foreign.Object.ST"],r=n["Foreign.Object.ST"],e=n["Data.Maybe"],u=r.peekImpl(e.Just.create)(e.Nothing.value);t.peek=u,t.new=r.new,t.poke=r.poke}(n),function(t){"use strict";(n["Foreign.Object.ST.Unsafe"]=n["Foreign.Object.ST.Unsafe"]||{}).unsafeFreeze=function(n){return function(){return n}}}(),function(n){"use strict";n["Foreign.Object.ST.Unsafe"]=n["Foreign.Object.ST.Unsafe"]||{};var t=n["Foreign.Object.ST.Unsafe"],r=n["Foreign.Object.ST.Unsafe"];t.unsafeFreeze=r.unsafeFreeze}(n),function(n){"use strict";n["Node.Encoding"]=n["Node.Encoding"]||{};var t=n["Node.Encoding"],r=n["Data.Show"],e=function(){function n(){}return n.value=new n,n}(),u=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}(),a=function(){function n(){}return n.value=new n,n}(),c=function(){function n(){}return n.value=new n,n}(),f=function(){function n(){}return n.value=new n,n}(),l=function(){function n(){}return n.value=new n,n}(),s=new r.Show(function(n){if(n instanceof e)return"ASCII";if(n instanceof u)return"UTF8";if(n instanceof o)return"UTF16LE";if(n instanceof i)return"UCS2";if(n instanceof a)return"Base64";if(n instanceof c)return"Latin1";if(n instanceof f)return"Binary";if(n instanceof l)return"Hex";throw new Error("Failed pattern match at Node.Encoding (line 19, column 1 - line 19, column 39): "+[n.constructor.name])});t.ASCII=e,t.UTF8=u,t.UTF16LE=o,t.UCS2=i,t.Base64=a,t.Latin1=c,t.Binary=f,t.Hex=l,t.encodingToNode=function(n){if(n instanceof e)return"ascii";if(n instanceof u)return"utf8";if(n instanceof o)return"utf16le";if(n instanceof i)return"ucs2";if(n instanceof a)return"base64";if(n instanceof c)return"latin1";if(n instanceof f)return"binary";if(n instanceof l)return"hex";throw new Error("Failed pattern match at Node.Encoding (line 31, column 1 - line 31, column 37): "+[n.constructor.name])},t.showEncoding=s}(n),function(t){"use strict";(n["Node.Process"]=n["Node.Process"]||{}).process=process}(),function(n){"use strict";n["Node.Process"]=n["Node.Process"]||{};var t=n["Node.Process"],r=n["Node.Process"],e=r.process.stdout,u=r.process.stdin;t.stdin=u,t.stdout=e}(n),function(n){"use strict";n.readChunkImpl=function(n){return function(t){return function(r){if(r instanceof Buffer)return t(r);if("string"==typeof r)return n(r);throw new Error("Node.Stream.readChunkImpl: Unrecognised chunk type; expected String or Buffer, got: "+r)}}},n.onDataEitherImpl=function(n){return function(t){return function(r){return function(){t.on("data",function(t){r(n(t))()})}}}},n.onEnd=function(n){return function(t){return function(){n.on("end",t)}}},n.write=function(n){return function(t){return function(r){return function(){return n.write(t,null,r)}}}},n.writeStringImpl=function(n){return function(t){return function(r){return function(e){return function(){return n.write(r,t,e)}}}}}}(n["Node.Stream"]=n["Node.Stream"]||{}),function(n){"use strict";n.error=function(n){return new Error(n)},n.throwException=function(n){return function(){throw n}}}(n["Effect.Exception"]=n["Effect.Exception"]||{}),function(n){"use strict";n["Effect.Exception"]=n["Effect.Exception"]||{};var t=n["Effect.Exception"],r=n["Effect.Exception"];t.throw=function(n){return r.throwException(r.error(n))}}(n),function(t){"use strict";(n["Node.Buffer"]=n["Node.Buffer"]||{}).toStringImpl=function(n){return function(t){return function(){return t.toString(n)}}}}(),function(n){"use strict";n["Node.Buffer"]=n["Node.Buffer"]||{};var t=n["Node.Buffer"],r=n["Node.Buffer"],e=n["Node.Encoding"];t.toString=function(n){return r.toStringImpl(e.encodingToNode(n))}}(n),function(n){"use strict";n["Node.Stream"]=n["Node.Stream"]||{};var t=n["Node.Stream"],r=n["Node.Stream"],e=n["Control.Applicative"],u=n["Control.Bind"],o=n["Data.Either"],i=n["Data.Show"],a=n.Effect,c=n["Effect.Exception"],f=n["Node.Buffer"],l=n["Node.Encoding"],s=r.readChunkImpl(o.Left.create)(o.Right.create),p=function(n){return function(t){return r.onDataEitherImpl(s)(n)(t)}},d=function(n){return function(t){return p(n)(u.composeKleisliFlipped(a.bindEffect)(t)(function(n){if(n instanceof o.Left)return c.throw("Stream encoding should not be set");if(n instanceof o.Right)return e.pure(a.applicativeEffect)(n.value0);throw new Error("Failed pattern match at Node.Stream (line 94, column 5 - line 98, column 17): "+[n.constructor.name])}))}};t.onData=d,t.onDataString=function(n){return function(t){return function(r){return d(n)(u.composeKleisliFlipped(a.bindEffect)(r)(f.toString(t)))}}},t.onDataEither=p,t.writeString=function(n){return function(t){return r.writeStringImpl(n)(i.show(l.showEncoding)(t))}},t.onEnd=r.onEnd}(n),function(n){"use strict";n.ABC091B=n.ABC091B||{};var t=n.ABC091B,r=n["Control.Applicative"],e=n["Control.Bind"],u=n["Control.Category"],o=n["Control.Monad.ST.Internal"],i=n["Data.Array"],a=n["Data.Either"],c=n["Data.Functor"],f=n["Data.Int"],l=n["Data.Maybe"],s=n["Data.Monoid"],p=n["Data.Ord"],d=n["Data.Show"],m=n["Data.String.Common"],h=n["Data.Unit"],w=n.Effect,v=n["Effect.Aff"],g=n["Effect.Class"],E=n["Effect.Ref"],D=n["Foreign.Object"],C=n["Foreign.Object.ST"],y=n["Foreign.Object.ST.Unsafe"],b=n["Node.Encoding"],A=n["Node.Process"],_=n["Node.Stream"],S=n["Partial.Unsafe"],F=function(n){return a.either(function(n){return S.unsafeCrashWith(n)})(u.identity(u.categoryFn))((t=n,c=m.split("\n")(m.trim(t)),e.bind(a.bindEither)(a.note("n")(e.bind(l.bindMaybe)(i.head(c))(f.fromString)))(function(n){var t=i.drop(1)(i.take(n+1|0)(c)),u=i.drop(n+1|0)(c);return e.bind(a.bindEither)(a.note("m")(e.bind(l.bindMaybe)(i.head(u))(f.fromString)))(function(e){var c,f=i.drop(1)(u);return r.pure(a.applicativeEither)(d.show(d.showInt)((c=n,function(n){return function(t){return function(r){return function(){var e=C.new();o.for(0)(c)(function(t){return function(){var r=C.peek(n[t])(e)();return C.poke(n[t])(l.maybe(1)(function(n){return n+1|0})(r))(e)(),h.unit}})(),o.for(0)(t)(function(n){return function(){var t=C.peek(r[n])(e)();return C.poke(r[n])(l.maybe(0)(function(n){return n-1|0})(t))(e)(),h.unit}})();var u=y.unsafeFreeze(e)();return p.max(p.ordInt)(0)(l["fromMaybe'"](function(n){return S.unsafeCrashWith("")})(i.last(i.sort(p.ordInt)(D.values(u)))))}()}}})(t)(e)(f))+"\n")})})));var t,c},k=v.makeAff(function(n){return function(){var t=E.new("")();return _.onDataString(A.stdin)(b.UTF8.value)(function(n){return function(){var r=E.read(t)();return E.write(r+n)(t)()}})(),_.onEnd(A.stdin)(function(){var e=E.read(t)();return n(r.pure(a.applicativeEither)(e))()})(),s.mempty(v.monoidCanceler)}}),P=v.launchAff_(e.bind(v.bindAff)(k)(function(n){return e.bind(v.bindAff)(r.pure(v.applicativeAff)(F(n)))(function(n){return g.liftEffect(v.monadEffectAff)((t=n,c.void(w.functorEffect)(_.writeString(A.stdout)(b.UTF8.value)(t)(r.pure(w.applicativeEffect)(h.unit)))));var t})}));t.main=P,t.solve=F}(n),n.ABC091B.main();
},{}]},{},["Focm"], null)

Measured memory_bytes: 21672