User's AC Ratio

100.0% (71/71)

Submission's AC Ratio

43.9% (126/287)

Tags

Description

某天小明無意間在網路上發現原來大學的學生證號碼有特殊涵意,
因為小明有收集學號的癖好,因此手邊有不少同學的學生證號碼,
請你幫他寫一個程式幫他把手邊的學號分類。已知:

學號第三碼代表學生身分 第六碼代表入學方式
$4, 5 \Rightarrow$ 大學部 (Bachelor) $0 \Rightarrow$ 體資生 (pe talented student)
$6 \Rightarrow$ 碩士班 (MS student) $1, 2, 3 \Rightarrow$ 考試入學 (testing)
$8 \Rightarrow$ 博士班 (PhD student) $4 \Rightarrow$ 推甄入學 (recommendation)
$5 \Rightarrow$ 僑生 (overseas student)
$6 \Rightarrow$ 申請入學 (admission)
$7 \Rightarrow$ 外籍生 (foreign student)
$8 \Rightarrow$ 交換學生 (exchange student)
$9 \Rightarrow$ 轉學生 (transfer student)

Input Format

A string that represents a student ID.

Output Format

A single line that prints out which identity he is and how was he enrolled.

Sample Input 1

C66069052

Sample Output 1

MS student, transfer student.

Hints

Output 之大小寫以 Description 裡之大小寫為主。

Problem Source

Subtasks

No. Testdata Range Score
1 0~9 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1
1 1000 65536 65536 1
2 1000 65536 65536 1
3 1000 65536 65536 1
4 1000 65536 65536 1
5 1000 65536 65536 1
6 1000 65536 65536 1
7 1000 65536 65536 1
8 1000 65536 65536 1
9 1000 65536 65536 1