ABC336(A-C)

A

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    cout<<'L';
    for(int i=0;i<n;i++){
        cout<<"o";
    }
    cout<<"ng"<<endl;
    return 0;
    
}

B

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    int num=0;
    while(n%2==0){
        num++;
        n/=2;
    }
    cout<<num<<endl;
    return 0;

}

C

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
    ll n;
    cin>>n;
    ll n0=n-1;
    string s="";
    if(n==1)cout<<"0"<<endl;
    else {
    while(n0>0){
        if(n0%5==0){
            s="0"+s;
        }
        else if(n0%5==1){
            s="2"+s;
        }
        else if(n0%5==2){
            s="4"+s;
        }
        else if(n0%5==3){
            s="6"+s;
        }
        else if(n0%5==4){
            s="8"+s;
        }
        n0/=5;
    }
cout<<s<<endl;
    }
}