func superDigit(n string, k int32) int32 {
// Write your code here
if len(n)==1{
i, _ := strconv.Atoi(n)
return int32(i)
}
s:=int64(0)
for i:=0;i<len(n);i++{
s+=int64(n[i])-'0'
}
x:=strconv.Itoa(int(s*int64(k)))
fmt.Println(s)
return superDigit(x,1)
}