HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Fyodor Menshikov. Training > problem:


03D. 50666 - The card and envelope

Guest
• Discussion of problem (2)

Volume problems

• 03A. 50633 - The prime factors
• 03B. 50720 - Permutations (2)
• 03F. 50616 - Snake
• 01B. 50600 - Expression
• 01C. 50601 - Increasing sequence
• 01D. 50660 - Triangle and the point
• 02A. 50662 - Prime numbers (2)
• 02E. 50607 - Long sum
• 03D. 50666 - The card and enve...
• 03E. 50606 - Long product
• 04A. 50634 - Perfect numbers
• 04B. 50635 - Decomposition into terms
• 04C. 50608 - Gangsters
• 04D. 50627 - Area of a polygon
• 02D. 50667 - Intersecting Line Seg...
• 03C. 50615 - Moneybox
• 05E. 50637 - Number systems

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Автор: Фёдор Меньшиков, ВГПУ. Difficulty Beta

The card and envelope

English translation is by Google Russian
Given the dimensions of a rectangular postcard and envelope. Determine whether the card will fit in the envelope.

Input
The first line contains the dimensions of the card. The second line contains the size of the envelope. The card and envelope sizes are positive integers not exceeding 100.
Output
If the card can be put in the envelope output "Possible", otherwise output "Impossible".

Input 1
1 10
9 9
Output 1
Possible

Для отправки решений необходимо выполнить вход.

www.contester.ru