Problem Description

Split stdin by lines using a Transform and print number of lines.

Input Format

stdin: text.

Output Format

Print integer.

Sample Test Case

Input:
a\ b\
Output:
2

Constraints

Handle \\r\\n.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next