The problem was numeric overflow as you were multiplying 122 numbers together before taking the 122 root of those numbers