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";var t=function(n){this.compose=n},e=new t(function(n){return function(t){return function(e){return n(t(e))}}});n.compose=function(n){return n.compose},n.Semigroupoid=t,n.semigroupoidFn=e}(n["Control.Semigroupoid"]=n["Control.Semigroupoid"]||{}),function(t){"use strict";var e=n["Control.Semigroupoid"],r=function(n,t){this.Semigroupoid0=n,this.identity=t},o=new r(function(){return e.semigroupoidFn},function(n){return n});t.Category=r,t.identity=function(n){return n.identity},t.categoryFn=o}(n["Control.Category"]=n["Control.Category"]||{}),function(t){"use strict";n["Data.Functor"],n["Control.Semigroupoid"],n["Data.Function"],n["Data.Unit"];t.Functor=function(n){this.map=n},t.map=function(n){return n.map}}(n["Data.Functor"]=n["Data.Functor"]||{}),function(t){"use strict";n["Control.Apply"],n["Control.Category"],n["Data.Function"],n["Data.Functor"];t.Apply=function(n,t){this.Functor0=n,this.apply=t},t.apply=function(n){return n.apply}}(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.Applicative"],n["Control.Apply"],n["Control.Category"],n["Data.Function"],n["Data.Functor"],n["Data.Unit"];t.Bind=function(n,t){this.Apply0=n,this.bind=t},t.bind=function(n){return n.bind}}(n["Control.Bind"]=n["Control.Bind"]||{}),function(t){"use strict";n["Control.Applicative"],n["Control.Apply"],n["Control.Bind"],n["Data.Functor"],n["Data.Unit"];t.Monad=function(n,t){this.Applicative0=n,this.Bind1=t}}(n["Control.Monad"]=n["Control.Monad"]||{}),function(t){"use strict";(n["Data.Eq"]=n["Data.Eq"]||{}).refEq=function(n){return function(t){return n===t}}}(),function(t){"use strict";var e=n["Data.Eq"],r=(n["Data.HeytingAlgebra"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n){this.eq=n}),o=new r(e.refEq);t.Eq=r,t.eq=function(n){return n.eq},t.eqInt=o}(n["Data.Eq"]=n["Data.Eq"]||{}),function(t){"use strict";(n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{}).unsafeCompareImpl=function(n){return function(t){return function(e){return function(r){return function(o){return r<o?n:r===o?t:e}}}}}}(),function(t){"use strict";(n["Data.Show"]=n["Data.Show"]||{}).showIntImpl=function(n){return n.toString()}}(),function(t){"use strict";var e=n["Data.Show"],r=(n["Data.Symbol"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n){this.show=n}),o=new r(e.showIntImpl);t.Show=r,t.show=function(n){return n.show},t.showInt=o}(n["Data.Show"]=n["Data.Show"]||{}),function(t){"use strict";n["Data.Eq"],n["Data.Semigroup"],n["Data.Show"];var e=function(){function n(){}return n.value=new n,n}(),r=function(){function n(){}return n.value=new n,n}(),o=function(){function n(){}return n.value=new n,n}();t.LT=e,t.GT=r,t.EQ=o}(n["Data.Ordering"]=n["Data.Ordering"]||{}),function(t){"use strict";var e=n["Data.Ord.Unsafe"],r=n["Data.Ordering"],o=e.unsafeCompareImpl(r.LT.value)(r.EQ.value)(r.GT.value);t.unsafeCompare=o}(n["Data.Ord.Unsafe"]=n["Data.Ord.Unsafe"]||{}),function(t){"use strict";n["Data.Ord"];var e=n["Data.Eq"],r=n["Data.Ord.Unsafe"],o=n["Data.Ordering"],a=(n["Data.Ring"],n["Data.Semiring"],n["Data.Symbol"],n["Data.Unit"],n["Data.Void"],n["Record.Unsafe"],n["Type.Data.RowList"],function(n,t){this.Eq0=n,this.compare=t}),i=new a(function(){return e.eqInt},r.unsafeCompare),u=function(n){return n.compare};t.Ord=a,t.compare=u,t.max=function(n){return function(t){return function(e){var r=u(n)(t)(e);if(r instanceof o.LT)return e;if(r instanceof o.EQ)return t;if(r instanceof o.GT)return t;throw new Error("Failed pattern match at Data.Ord (line 128, column 3 - line 131, column 12): "+[r.constructor.name])}}},t.ordInt=i}(n["Data.Ord"]=n["Data.Ord"]||{}),function(t){"use strict";n["Control.Alt"],n["Control.Alternative"];var e=n["Control.Applicative"],r=n["Control.Apply"],o=n["Control.Bind"],a=n["Control.Category"],i=(n["Control.Extend"],n["Control.Monad"]),u=(n["Control.MonadZero"],n["Control.Plus"],n["Data.Bounded"],n["Data.Eq"],n["Data.Function"],n["Data.Functor"]),c=(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}()),f=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),l=function(n){return function(t){return function(e){if(e instanceof c)return n;if(e instanceof f)return t(e.value0);throw new Error("Failed pattern match at Data.Maybe (line 217, column 1 - line 217, column 51): "+[n.constructor.name,t.constructor.name,e.constructor.name])}}},s=new u.Functor(function(n){return function(t){return t instanceof f?new f(n(t.value0)):c.value}}),d=new r.Apply(function(){return s},function(n){return function(t){if(n instanceof f)return u.map(s)(n.value0)(t);if(n instanceof c)return c.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 67, column 35): "+[n.constructor.name,t.constructor.name])}}),D=new o.Bind(function(){return d},function(n){return function(t){if(n instanceof f)return t(n.value0);if(n instanceof c)return c.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 125, column 33): "+[n.constructor.name,t.constructor.name])}}),m=new e.Applicative(function(){return d},f.create),p=new i.Monad(function(){return m},function(){return D});t.Nothing=c,t.Just=f,t.maybe=l,t.fromMaybe=function(n){return l(n)(a.identity(a.categoryFn))},t.functorMaybe=s,t.applyMaybe=d,t.applicativeMaybe=m,t.bindMaybe=D,t.monadMaybe=p}(n["Data.Maybe"]=n["Data.Maybe"]||{}),function(t){"use strict";n["Control.Applicative"],n["Control.Bind"],n["Control.Monad"],n["Control.Semigroupoid"],n["Data.Bifunctor"],n["Data.Either"],n["Data.Functor"],n["Data.Identity"];var e=n["Data.Maybe"],r=(n["Data.Unit"],n.Effect,n["Effect.Ref"],n["Partial.Unsafe"],n.Prelude,function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}()),o=function(){function n(n){this.value0=n}return n.create=function(t){return new n(t)},n}(),a=function(n,t){this.Monad0=n,this.tailRecM=t},i=function(n){return n.tailRecM},u=function(n){return function(t){return function(t){var e,a=!1;function i(e){if(!(e instanceof r)){if(e instanceof o)return a=!0,e.value0;throw new Error("Failed pattern match at Control.Monad.Rec.Class (line 91, column 3 - line 91, column 25): "+[e.constructor.name])}t=n(e.value0)}for(;!a;)e=i(t);return e}(n(t))}},c=new a(function(){return e.monadMaybe},function(n){return function(t){return u(function(t){if(t instanceof e.Nothing)return new o(e.Nothing.value);if(t instanceof e.Just&&t.value0 instanceof r)return new r(n(t.value0.value0));if(t instanceof e.Just&&t.value0 instanceof o)return new o(new e.Just(t.value0.value0));throw new Error("Failed pattern match at Control.Monad.Rec.Class (line 127, column 7 - line 127, column 31): "+[t.constructor.name])})(n(t))}});t.Loop=r,t.Done=o,t.MonadRec=a,t.tailRec=u,t.tailRecM=i,t.tailRecM2=function(n){return function(t){return function(e){return function(r){return i(n)(function(n){return t(n.a)(n.b)})({a:e,b:r})}}}},t.monadRecMaybe=c}(n["Control.Monad.Rec.Class"]=n["Control.Monad.Rec.Class"]||{}),function(n){"use strict";n.length=function(n){return n.length},n.unsafeIndexImpl=function(n){return function(t){return n[t]}}}(n["Data.Array"]=n["Data.Array"]||{}),function(t){"use strict";(n["Data.Boolean"]=n["Data.Boolean"]||{}).otherwise=!0}(),function(t){"use strict";(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}).unsafeCoerce=function(n){return n}}(),function(t){"use strict";var e=n["Unsafe.Coerce"];t.unsafeCoerce=e.unsafeCoerce}(n["Unsafe.Coerce"]=n["Unsafe.Coerce"]||{}),function(t){"use strict";var e=n["Data.Array"],r=(n["Control.Alt"],n["Control.Alternative"],n["Control.Applicative"]),o=(n["Control.Apply"],n["Control.Bind"]),a=(n["Control.Category"],n["Control.Lazy"],n["Control.Monad.Rec.Class"]),i=(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"]),u=(n["Data.Eq"],n["Data.Foldable"],n["Data.Function"],n["Data.Functor"],n["Data.HeytingAlgebra"],n["Data.Maybe"],n["Data.Ord"],n["Data.Ordering"],n["Data.Ring"],n["Data.Semigroup"],n["Data.Semiring"],n["Data.Traversable"],n["Data.Tuple"],n["Data.Unfoldable"],n["Partial.Unsafe"],n.Prelude,n["Unsafe.Coerce"],function(n){return e.unsafeIndexImpl});t.foldRecM=function(n){return function(t){return function(c){return function(f){return a.tailRecM2(n)(function(c){return function(l){if(l>=e.length(f))return r.pure(n.Monad0().Applicative0())(new a.Done(c));if(i.otherwise)return o.bind(n.Monad0().Bind1())(t(c)(u()(f)(l)))(function(t){return r.pure(n.Monad0().Applicative0())(new a.Loop({a:t,b:l+1|0}))});throw new Error("Failed pattern match at Data.Array (line 1099, column 3 - line 1103, column 42): "+[c.constructor.name,l.constructor.name])}})(c)(0)}}}},t.unsafeIndex=u}(n["Data.Array"]=n["Data.Array"]||{}),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 e=n["Data.String.Common"];n["Data.Eq"],n["Data.Ordering"],n["Data.String.Pattern"],n.Prelude;t.split=e.split,t.trim=e.trim}(n["Data.String.Common"]=n["Data.String.Common"]||{}),function(t){"use strict";var e=n["Control.Monad.Rec.Class"],r=n["Data.Array"],o=n["Data.Boolean"],a=n["Data.Functor"],i=n["Data.Maybe"],u=n["Data.Ord"],c=(n["Data.Semiring"],n["Data.Show"]),f=(n["Data.String"],n["Data.String.Common"]);n["Data.String.Pattern"],n.Prelude;t.solve=function(n){return c.show(c.showInt)(i.fromMaybe(0)(a.map(i.functorMaybe)(function(n){return n.max})(r.foldRecM(e.monadRecMaybe)(function(n){return function(t){if(function(n){return"A"===n||"C"===n||"G"===n||"T"===n}(t))return new i.Just({max:u.max(u.ordInt)(n.max)(n.cur+1|0),cur:n.cur+1|0});if(o.otherwise)return new i.Just({max:n.max,cur:0});throw new Error("Failed pattern match at AtCoder.ABC122.B (line 32, column 5 - line 34, column 46): "+[n.constructor.name,t.constructor.name])}})({cur:0,max:0})(f.split("")(f.trim(n))))))}}(n["AtCoder.ABC122.B"]=n["AtCoder.ABC122.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 e=n["Effect.Console"];n["Data.Show"],n["Data.Unit"],n.Effect;t.log=e.log}(n["Effect.Console"]=n["Effect.Console"]||{}),function(t){"use strict";n["Node.Encoding"];var e=n["Data.Show"],r=(n.Prelude,function(){function n(){}return n.value=new n,n}()),o=function(){function n(){}return n.value=new n,n}(),a=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}(),f=function(){function n(){}return n.value=new n,n}(),l=function(){function n(){}return n.value=new n,n}(),s=new e.Show(function(n){if(n instanceof r)return"ASCII";if(n instanceof o)return"UTF8";if(n instanceof a)return"UTF16LE";if(n instanceof i)return"UCS2";if(n instanceof u)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=r,t.UTF8=o,t.UTF16LE=a,t.UCS2=i,t.Base64=u,t.Latin1=c,t.Binary=f,t.Hex=l,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 e=n["Node.FS.Internal"],r=(n.Effect,n.Prelude,n["Unsafe.Coerce"].unsafeCoerce);t.mkEffect=r,t.unsafeRequireFS=e.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 e=n["Data.Show"],r=(n["Data.Time.Duration"],n.Effect,n["Node.Buffer"],n["Node.Encoding"]),o=(n["Node.FS"],n["Node.FS.Internal"]),a=(n["Node.FS.Perms"],n["Node.FS.Stats"],n["Node.Path"],n.Prelude,o.unsafeRequireFS);t.readTextFile=function(n){return function(t){return o.mkEffect(function(o){return a.readFileSync(t,{encoding:e.show(r.showEncoding)(n)})})}}}(n["Node.FS.Sync"]=n["Node.FS.Sync"]||{}),function(t){"use strict";var e=n["AtCoder.ABC122.B"],r=(n["Control.Applicative"],n["Control.Bind"],n.Effect,n["Effect.Console"]),o=n["Node.Encoding"],a=n["Node.FS.Sync"];n.Prelude;t.main=function(){var n=a.readTextFile(o.UTF8.value)("/dev/stdin")(),t=e.solve(n);return r.log(t)()}}(n.Main=n.Main||{}),n.Main.main();
},{}]},{},["Focm"], null)