PseUdoCamElcAse
Statement
Goal
CamelCase is the practice of writing phrases without spaces or punctuation, indicating the separation of words with a single capitalized letter, like YouTube, eBay or CodinGame.In this exercice, you will have to concatenate words and uppercase the first and the nth letters.
Input
First line: a string S containing one or many words.
Second line: one integer N specifying how many lowercase letters you have to left between uppercase letters.
Second line: one integer N specifying how many lowercase letters you have to left between uppercase letters.
Output
A unique line with the string S converted in Pseudo Camel Case.
Constraints
0 ≤ N ≤ 255
S contains only letters or spaces.
S contains only letters or spaces.
Example
Input
CamelCase 2
Output
CamElcAse
Game modes
Fastest, Shortest, Reverse
Test cases
CamelCase Test
Input
CamelCase
2
Output
CamElcAse
Validator CamelCase Validator
Input
CamelCase
4
Output
CamelCase
Simple Test
Input
Up me if you can
3
Output
UpmeIfyoUcan
Validator Simple Validator
Input
Camel case is distinct from title case
3
Output
CameLcasEisdIstiNctfRomtItleCase
Pangram Test
Input
The quick brown fox jumps over the lazy dog
4
Output
ThequIckbrOwnfoXjumpSoverThelaZydog
Validator Pangram Validator
Input
Pack my box with five dozen liquor jugs
5
Output
PackmyBoxwitHfivedOzenliQuorjuGs
All up Test
Input
Jackdaws love my big sphinx of quartz
0
Output
JACKDAWSLOVEMYBIGSPHINXOFQUARTZ
Validator All up Validator
Input
The quick brown fox jumps over the lazy dog
0
Output
THEQUICKBROWNFOXJUMPSOVERTHELAZYDOG
Hamlet Test
Input
To be or not to be that is the question
255
Output
Tobeornottobethatisthequestion
Validator Hamlet Validator
Input
There is nothing either good or bad but thinking makes it so
255
Output
Thereisnothingeithergoodorbadbutthinkingmakesitso
Spaces Test
Input
a b
3
Output
Ab
Validator Spaces Validator
Input
c d e f
2
Output
CdeF
50-50 Test
Input
A horse a horse my kingdom for a horse
1
Output
AhOrSeAhOrSeMyKiNgDoMfOrAhOrSe
Validator 50-50 Validator
Input
Brevity is the soul of wit
1
Output
BrEvItYiStHeSoUlOfWiT
Solution language
Solution
Stub generator input