## An Animal Contest 3 P1 - Monkey Shopping

View as PDF

Points: 3
Time limit: 2.0s
Memory limit: 256M

Author:
Problem type

KeenKen the monkey is going shopping! KeenKen currently has units of sugar, but he needs units of sugar. He has units of toothpaste, but he needs units of toothpaste.

If he doesn't have enough sugar, he will have to go to the grocery store to get some. If he doesn't have enough toothpaste, he will have to go to the pharmacy. However, if he needs both, he can get them both at the department store, but that is farther away. Thus, he will only visit the department store if he needs to get both items.

If he doesn't need to get either item, KeenKen will stay home.

Please tell KeenKen what to do!

#### Input Specification

The first and only line will contain four space-separated integers, .

#### Output Specification

Output one line with the command KeenKen should complete. The output should correspond with one of the following:

• Go to the grocery store
• Go to the pharmacy
• Go to the department store
• Stay home

#### Sample Input 1

1 2 3 4

#### Sample Output 1

Go to the department store

#### Explanation for Sample 1

KeenKen has unit of sugar which is less than the units required. He has units of toothpaste which is less than the units required. Since he needs more of both items, he should visit the department store.

#### Sample Input 2

72 7 42 0

#### Sample Output 2

Stay home