Is it rated?

Time limit1sMemory limit512 MB

Summary
Given the name of a past Codeforces contest, print 1 if the contest was rated and 0 otherwise.
Level

Easy1 of 10

Topics
Implementation, String
Solved
No attempts yet

Problem

Is it rated?

Input

You are given the name of a past contest held on Codeforces, on a single line.

Output

Print 1 if the contest was rated, 0 otherwise.

Semi-rated contests such as https://codeforces.com/blog/entry/56101 count as rated contests.

Examples3

  1. Example 1

    Input
    Codeforces Round #486 (Div. 3)
    Expected output
    1
  2. Example 2

    Input
    Educational Codeforces Round 35 (Rated for Div. 2)
    Expected output
    1
  3. Example 3

    Input
    Технокубок 2018 - Отборочный Раунд 1
    Expected output
    0