Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let input = [
- '-5', // the input is always a string, so it's '3' and not 3
- '-2'
- ];
- let print = this.print || console.log;
- let gets = this.gets || ((arr, index) => () => arr[index++])(input, 0);
- let num = +gets();
- let num1 = +gets();
- print(Math.max(num, num1));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement