HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Fyodor Menshikov. Training > problem:


03D. 50666 - The card and envelope

Guest
• Discussion of problem (2)

Volume problems

• 02B. 50625 - Permutations
• 02C. 50626 - The route
• 02D. 50667 - Intersecting Line Seg...
• 02E. 50607 - Long sum
• 02F. 50647 - Spiral
• 03A. 50633 - The prime factors
• 03B. 50720 - Permutations (2)
• 03C. 50615 - Moneybox
• 03D. 50666 - The card and enve...
• 03E. 50606 - Long product
• 03F. 50616 - Snake
• 04A. 50634 - Perfect numbers
• 04B. 50635 - Decomposition into terms
• 04C. 50608 - Gangsters
• 04D. 50627 - Area of a polygon
• 04E. 50609 - Long division
• 04F. 50636 - Brackets

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