P23736 [AtCoder] [ABC035A] Television
入门
题目描述

Problem Description

Takahashi has a television with a screen width of $ W $ and a height of $ H $.

Determine whether the screen aspect ratio $ W:H $ of this television is $ 4:3 $ or $ 16:9 $.

Input Format

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

$ W $ $ H $

  • The first line contains two integers $W,H\ (1≦H\ <\ W≦10^5)$ representing the screen width and height of the television, separated by a space.
  • It is guaranteed that the screen aspect ratio is either $ 4:3 $ or $ 16:9 $.

Output Format

If the screen aspect ratio $ W:H $ of Takahashi's television is $ 4:3 $, output 4:3. If it is $ 16:9 $, output 16:9. Ensure to print a newline at the end.

Sample Input and Output

Sample Input #1

4 3

Sample Output #1

4:3

Sample Input #2

16 9

Sample Output #2

16:9

Sample Input #3

28 21

Sample Output #3

4:3

Notes/Hints

Sample Explanation 1

  • The screen aspect ratio of a television with a width of $ 4 $ and a height of $ 3 $ is $ 4:3 $, so output 4:3.

Sample Explanation 2

  • The screen aspect ratio of a television with a width of $ 16 $ and a height of $ 9 $ is $ 16:9 $, so output 16:9.
输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
4 3
样例输出
4:3