Problem Description

A line sentence is provided. Words are separated by spaces. Count how many unique words are there and output the count.

Input Format

One line sentence.

Output Format

One integer uniqueCount.

Sample Test Case

Input:
hi hello hi bye
Output:
3

Constraints

Total characters

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next