Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let first = gets().split(",");
- let second = 1;
- let missing=[];
- for (let i = 0; i <= first.length-1; i++)
- {
- if(first.includes(second))
- {
- missing.push(second);
- }
- second += 1;
- }
- print(missing.join(","));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement