def main():
    sx, sy, tx, ty = (int(i) for i in input().split())
    x, y = sx, sy
    goal_cnt = 0
    ans = ""
    finished = {(sx, sy)}
    while goal_cnt < 4:
        if goal_cnt % 2 == 0:
            if y < ty and (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif y > ty and (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif x < tx and (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            elif x > tx and (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif y == ty and (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif y == ty and (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif x == tx and (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            elif x == tx and (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            else:
                raise Exception("panic!")
            if x == tx and y == ty:
                goal_cnt += 1
                finished.discard((sx, sy))
                finished.add((tx, ty))
            else:
                finished.add((x, y))
        else:
            if y < sy and (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif y > sy and (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif x < sx and (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            elif x > sx and (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif y == sy and (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif y == sy and (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif x == sx and (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            elif x == sx and (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif (x, y-1) not in finished:
                y -= 1
                ans = ans + "D"
            elif (x-1, y) not in finished:
                x -= 1
                ans = ans + "L"
            elif (x, y+1) not in finished:
                y += 1
                ans = ans + "U"
            elif (x+1, y) not in finished:
                x += 1
                ans = ans + "R"
            else:
                raise Exception("panic!")
            if x == sx and y == sy:
                goal_cnt += 1
                finished.discard((tx, ty))
                finished.add((sx, sy))
            else:
                finished.add((x, y))
    print(ans)


if __name__ == '__main__':
    main()


Measured memory_bytes: 45148