Start 2026-04-01 00:00:00

2026年4月算法设计模拟题

End 2026-04-30 00:00:00
Contest is over.
Now 2026-07-08 09:40:16

A. 成绩等第 T1

Description

给定一个在 0100 之间的整数 a,请将它转成等第,规则如下:

  • 90 或以上为 A
  • 80 或以上为 B
  • 70 或以上为 C
  • 60 或以上为 D
  • 59 或以下为 F

Input

  • 单个数字表示 a

Output

  • 单个字符表示答案

Examples

Input

93

Output

A

Input

44

Output

F

Hint

数据范围

  • 0\leq a\leq 100

Submit

Login

Signup
Time Limit 1 second
Memory Limit 128 MB
Submit