func judgeCircle(moves string) bool {
w, h := 0, 0
for _, c := range moves {
switch c {
case 'U':
w++
case 'D':
w--
case 'L':
h++
case 'R':
h--
}
}
return w == 0 && h == 0
}