[ mona / prog / sol ]
Implement this RC challenge, without loading external libraries/programs in your favorite language(standard library parts are allowed).
1. All three tasks must be solved exactly - no errors.
2. No loading any external programs or libraries.
3. Solution should be as laconic as possible: you are allowed to implement anything but larger solutions will be treated as weaker than shorter ones.