Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)

#### Problem Description

There are *N* xiaopengyou in the class. One day teacher HU ask a question in the class and several students raise their hands.

Teacher HU found that not all students raise their right hand which means there are many students are used to useing their left hand.

Now Teacher HU want to know what is the maximal possible number and minimal possible number of the students who use left hands in his class.

#### Input

There are multiple test cases.

The first line contains an integer *N (1 ≤ N ≤ 1000)*

The next line contains a non-empty string only contains character 'L' and 'R' indicating that when teacher HU ask the question, the condition of the student who raise hand.

If the character is 'L', that means one student raise his/her left hand; vice versa.

#### Output

For each test case, output two integers indicating the maximal possible number and minimal possible number of the students who use left hands in his class.

#### Sample Input

#### Sample Output

#### Source

dut200901102

#### Manager