<gh_stars>0
from typing import List

class Solution:
    def judgeCircle(self, moves: str) -> bool:
        if moves.count("U") == moves.count("D") and moves.count("R") == moves.count("L"):
            return True
        else:
            return False
from typing import List

class Solution:
    def judgeCircle(self, moves: str) -> bool:
        if moves.count("U") == moves.count("D") and moves.count("R") == moves.count("L"):
            return True
        else:
            return False