Write a program which, when every nth character is skipped, it prints n. For example, if every 2nd character is skipped, it prints 2.
- If n=0 (no characters are skipped), 0 must be returned.
- Must print to STDOUT.
- Standard loopholes are forbidden.
- The first character is never skipped.
- Obviously, it doesn't need to work for more characters than the code has (e.g. if your code is 11 characters long, it doesn't need to work for every 11th character)
This is code golf, so the shortest code in bytes wins.