Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Codeforces Round 705A
- #include <string>
- #include <iostream>
- using namespace std;
- int main()
- {
- int n;
- cin >> n;
- for(int i=0;i<n;i++)
- {
- if(i%2==0){cout << "I hate ";}
- if(i%2!=0){cout << "I love ";}
- if(i==n-1){cout << "it";}
- if(i!=n-1){cout << "that ";}
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment