candidate runtime error on test 1: exit status 2 input: 1 2 stdout/stderr: 2 2 2 1 2 1 2 panic: runtime error: index out of range [0] with length 0 goroutine 1 [running]: main.main() /tmp/build-1559396186/solution.go:162 +0xab8 exit status 1