Odd-Position Numbers Descending

Write a program that reads a sequence of natural numbers and checks that all those in odd positions form a descending sequence.

Input

Each number in the input sequence is a non-negative integer. Numbers are separated by blank spaces or line ends, or both; at least one such separator, but maybe more than one. Their positions in the sequence are considered as starting with position zero.

Output

The numbers in even positions can be arbitrary; if the numbers in odd positions form a descending sequence, according to the standard inequality comparison on integers, your program must write the message: "Odd-Position Numbers Descending." Otherwise, your program must write the message: "Odd-Position Numbers Not Descending."

Problem information

Author: José Luis Balcázar

Generation: 2026-01-25T16:38:47.651Z

© Jutge.org, 2006–2026.
https://jutge.org