KEG3DUT7HAIIZ727B6FELVNRBCJO5RVZK3DXZBQWJMDMF3Q3NCCAC
github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
module ngn
go 1.15
require github.com/matryer/is v1.4.0
package main
import (
"bufio"
"fmt"
"os"
"ngn"
)
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
func main() {
scanner := bufio.NewScanner(os.Stdin)
scanner.Buffer(make([]byte, 1000000), 1000000)
scanner.Scan()
n := scanner.Text()
fmt.Fprintf(os.Stderr, "input: %s, size: %d\n", n, len(n))
tipping := ngn.Tipping(n)
fmt.Println(ngn.Growing(n, tipping))
}