Problem Description

Read all stdin, split into lines, and print count.

Input Format

stdin: any text.

Output Format

Print integer.

Sample Test Case

Input:
a\ b\
Output:
2

Constraints

Trim ending newline correctly.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next