For problem statement at 0-999/900-999/970-979/976/problemB.txt this is a correct solution, but verifier at 0-999/900-999/970-979/976/verifierB.go ends with Test 2 failed
Input:24 7 143
Expected:5 2
Got:14 2
exit status 1 can you fix the verifier? ```go
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
in := bufio.NewReaderSize(os.Stdin, 1<<20)
var n, m, k int64
fmt.Fscan(in, &n, &m, &k)
if k < n {
fmt.Println(k+1, 1)
return
}
k -= n
row := n
col := int64(2)
if m == 2 {
if k < n-1 {
fmt.Println(n-1-k, 2)
}
return
}
cycle := int64(2*m - 2)
full := k / cycle
rem := k % cycle
row -= full
if rem < m-1 {
col = 2 + rem
} else {
rem -= (m - 1)
row--
col = m - rem
}
fmt.Println(row, col)
}
```