# code: http://golf.shinh.org/reveal.rb?Modular+Exponentiation/tails_1646227623&nbb # target Nibbles version: 0.24 # commenter version: 0.1.2.181 #(implicit foldl1):int : #(append):[int] 2 #(integer):int , #(range from 1):[int] $ #(= fstInt):int % #(modulus):int <--arg( B:int A:int ) ^ #(pow):int @ #(= A):int 10 #(integer):int ^ #(pow):int ~ #(auto = 10):auto ;_ #(= sndInt):int