Advertisement
Saleh127

Untitled

May 1st, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. int a,c,d,e,f,i,j,k,l;
  6. string x[]={"Sheldon","Leonard","Penny","Rajesh","Howard"};
  7. cin>>a;
  8. while(a>5)
  9. {
  10. a=a/2-2;
  11. }
  12. cout<<x[a-1]<<endl;
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement