Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///HELLO THERE~!
- ///CREATED BY MD SADMAN MEHEDI SIVAN(IUT CSE-SWE^19)
- #include<bits/stdc++.h>
- #define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
- using namespace std;
- int main()
- {
- fastio;
- int n;
- cin>>n;
- vector<int>sivan= {1,2,3,4,5};
- for(int i=0; i<10000000; i++)
- {
- int x=sivan[i];
- sivan.push_back(x);
- sivan.push_back(x);
- }
- if(sivan[n-1]==1)
- cout<<"Sheldon";
- else if(sivan[n-1]==2)
- cout<<"Leonard";
- else if(sivan[n-1]==3)
- cout<<"Penny";
- else if(sivan[n-1]==4)
- cout<<"Rajesh";
- else if(sivan[n-1]==5)
- cout<<"Howard";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement