SCISSOR = '가위'
ROCK = '바위'
PAPER = '보'

WIN = '이겼다.'
DRAW = '비겼다.'
LOSE = '졌다'

mine = '가위'
yours = '바위'

if mine == yours:
    result = DRAW
else:
    if mine == SCISSOR:
        if yours == ROCK:
            result = LOSE
        else:
            result = WIN
    if mine == ROCK:
        if yours == PAPER:
            result = LOSE
        else:
            result = WIN
    elif mine == PAPER:
        if yours == SCISSOR:
            result = LOSE
        else:
            result = WIN

print(result);
    