← Home
For problem statement at 1000-1999/1000-1099/1080-1089/1085/problemA.txt this is a correct solution, but verifier at 1000-1999/1000-1099/1080-1089/1085/verifierA.go ends with All 100 tests passed can you fix the verifier? ```go
package main

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

func main() {
	in := bufio.NewReader(os.Stdin)
	var t string
	fmt.Fscan(in, &t)

	n := len(t)
	s := make([]byte, n)

	left := (n - 1) / 2
	right := left + 1

	for i := 0; i < n; i++ {
		if i%2 == 0 {
			s[i] = t[left]
			left--
		} else {
			s[i] = t[right]
			right++
		}
	}

	fmt.Print(string(s))
}
```