Problem Description

A line string s is provided (can contain spaces). Convert it to UTF-8 bytes. Output two integers: byteLength and checksum (sum of bytes modulo 256).

Input Format

One line string s.

Output Format

One line: length checksum.

Sample Test Case

Input:
Hello
Output:
5 244

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next