P25478 [AtCoder] [ABC018A] Bean Throwing
入门
题目描述

Problem Description

Taro, Jiro, and Saburo competed in a bean-throwing contest. The higher the score, the higher the rank. Given the scores of each person, output their respective ranks.

Input Format

The input is given from the standard input in the following format:

$ A $ $ B $ $ C $

  • The first line contains an integer $A\ (1\ ≦\ A\ ≦\ 100)$ representing Taro's score.
  • The second line contains an integer $B\ (1\ ≦\ B\ ≦\ 100)$ representing Jiro's score.
  • The third line contains an integer $C\ (1\ ≦\ C\ ≦\ 100)$ representing Saburo's score.
  • $ A $, $ B $, and $ C $ are all different.

Output Format

The output consists of three lines.

  • The first line should contain an integer representing Taro's rank.
  • The second line should contain an integer representing Jiro's rank.
  • The third line should contain an integer representing Saburo's rank.

(21:49 Change in expression) Include a newline at the end of the output.

Sample Input and Output

Sample Input #1

12
18
11

Sample Output #1

2
1
3

Sample Input #2

10
20
30

Sample Output #2

3
2
1

Notes/Hints

Sample Explanation 1

  • Taro loses to Jiro but wins against Saburo. Taro's rank is $ 2 $.
  • Jiro wins against both Taro and Saburo. Jiro's rank is $ 1 $.
  • Saburo loses to both Taro and Jiro. Saburo's rank is $ 3 $.
输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
12 18 11
样例输出
2 1 3