Woburn Challenge 2017-18 Round 1 - Junior Division
Problem 1: Canadian Accent
Your friend Jim prides himself on doing the best impressions. On this occasion, he's showing off what Canadians sound like. Unfortunately, his idea of a Canadian accent simply consists of following words with "
eh". Maybe that's not so inaccurate, eh?
Jim is given a single word, a non-empty string S made up of at most 10 lowercase/uppercase letters. He'll then produce his Canadian-ified version of that word, simply by appending the string "
, eh" onto the end of S.
Given S, help Jim determine the resulting string which he should pronounce in order to achieve the perfect Canadian accent!
The first and only line of input consists of a single string, S.
Output a single string, S with a "Canadian accent" (that is, with "
, eh" added onto the end).
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Jan 26, 2018
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3