#K38382. Unique Characters Checker

    ID: 26186 Type: Default 1000ms 256MiB

Unique Characters Checker

Unique Characters Checker

You are given a string. Your task is to determine whether every character in the string appears exactly once, i.e. all characters are unique. If so, print True; otherwise, print False.

Note: The input string may contain letters, digits, special characters, or even be empty.

Examples:

  • Input: algorithm → Output: True
  • Input: programming → Output: False

Mathematically, the string s is unique if and only if \( |s| = |\{ c : c \in s \}| \).

inputFormat

The input consists of a single line containing a string. The string may include any visible characters. It is read from stdin.

outputFormat

Output a single line with either True or False to indicate whether all the characters in the input string are unique. The result should be printed to stdout.

## sample
algorithm
True