Easy
Append and Count
Create
log.txt with the line start. Read n and append the word tick n times, one per line. Print how many lines the file has.Input
One integer n ≥ 0.
Output
One integer.
Sample 1
Input
3
Output
4
Sample 2
Input
0
Output
1
Output appears here