Problem Description

Two players played Rock-Paper-Scissors for n rounds. You get two strings A and B (length n) with chars R/P/S. Print A if player A wins, B if player B wins, else DRAW.

Input Format

Line1: n. Line2: string A. Line3: string B.

Output Format

A or B or DRAW.

Sample Test Case

Input:
5 RPSRR SPPRP
Output:
A

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next