/**
* Score 15
* Run Time 153ms
* @author wowpH
* @version 1.1
*/import java.io.BufferedInputStream;import java.util.Scanner;publicclassMain{privatestaticvoiddeal(int n){if(n >=100){
n =output(n,100,"B");}if(n >=10){
n =output(n,10,"S");}if(n >0){output(n,1, null);}}privatestaticintoutput(int n,int m, String s){int k = n / m;for(int i =1; i <= k; i++){
System.out.print(null == s ? i : s);}return n % m;}publicstaticvoidmain(String[] args){
Scanner sc =newScanner(newBufferedInputStream(System.in));int n = sc.nextInt();deal(n);
System.out.println();
sc.close();}}