Good and Bad Strings

0

0 votes
Very-Easy
Problem

Shashank loves strings. He consider that strings are of only 2 types - Good or Bad.
Good strings are those which contains Invento in them as substring, otherwise string is considered as Bad string.

String p is called a substring of string s if you can read it starting from some position in the string s. For example, string "aba" has six substrings: "a", "b", "a", "ab", "ba", "aba".

You have to help Shashank to determine whether string is Good or Bad.

Input Format

First line contains string s.

Output Format

Output type of string, either Good or Bad.

Constraints

  • 1 ≤ Length of string ≤ 100000
  • s contains only lowercase and uppercase English alphabets
  • Comparision should be done in case insensitive manner
Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?