← Home
For problem statement at 0-999/600-699/630-639/630/problemL.txt this is a correct solution, but verifier at 0-999/600-699/630-639/630/verifierL.go ends with All tests passed can you fix the verifier? ```go
package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

func powMod(a, e, mod int) int {
	res := 1
	a %= mod
	for e > 0 {
		if e&1 == 1 {
			res = (res * a) % mod
		}
		a = (a * a) % mod
		e >>= 1
	}
	return res
}

func main() {
	in := bufio.NewReader(os.Stdin)

	var s string
	fmt.Fscan(in, &s)

	shuffled := string([]byte{s[0], s[2], s[4], s[3], s[1]})
	n, _ := strconv.Atoi(shuffled)

	ans := powMod(n, 5, 100000)
	fmt.Printf("%05d", ans)
}
```