import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m = sc.nextInt(); int[] tage = new int[m]; StringBuilder sb = new StringBuilder(); for(int i=0; i0){ count ++; if(tage[i]%2==0){ sb.insert(0, "R"); tage[i] = tage[i]/2-1; }else{ sb.insert(0,"L"); tage[i] /= 2; } } System.out.println(sb); sb.delete(0, count); } sc.close(); } }