1906 信号测试


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

一个最大为3位数的整数,让我们用字母B的个数来表示百位数的值,用字母S的个数来表示十位数的值,用“12...n”来表示个位数字n(<10),以这样一种信号转换格式来输出。例如,整数234,应该输出BBSSS1234。

Input

一些最大为3位数的整数n(0<n)。

Output

每个整数转换成符合条件的信号输出,每个输出占一行。

Sample

Input

234
23

Output

BBSSS1234
SS123

Source: qn


Comments

There are no comments at the moment.