D=list(map(int, input().split())) print("DSEUARDV I V E D"[D[3]or D[:3].count(1)<2::2])