Astrology
시간 제한1초메모리 제한1024 MB
YYYY-MM-DD 형식의 날짜가 주어지면 주어진 표에 따라 태양이 위치한 별자리를 출력한다.
- 난이도
쉬움10점 중 2점
- 유형
- 구현
- 정답자
- 아직 제출이 없습니다
문제
The famous astrologer Pavel Globus writes a bot for trading stocks in the stock market. Pavel is going to predict the stock price by the stars. He analyzed historical data and noticed that, for example, when Mars was in Capricorn, the stock price fell, and when the moon was in Gemini, the quotes went up. Of course, Pavel will not reveal all the details of his algorithm.
Pavel is not so good at programming, and one of the parts of the program that he cannot cope with is determining the zodiac sign, in which the Sun is located, depending on the current date. The zodiac sign for the current date can be determined from the following table:
Help Pavel and write a program that determines the zodiac sign by the current date. Pavel, in return, will help you increase your capital.
입력
You are given a string in format <<YYYY-MM-DD>>, indicating the current date, where YYYY --- year ( YYYY ), MM --- month ( MM ), and YYYY --- day ( DD ).
The date is real.
출력
Print one of the words from the list <<Aries>>, <<Taurus>>, <<Gemini>>, <<Cancer>>, <<Leo>>, <<Virgo>>, <<Libra>>, <<Scorpio>>, <<Sagittarius>>, <<Capricorn>>, <<Aquarius>>, <<Pisces>>, corresponding to the zodiac sign.