P13006 【MX-X13-T1】"KDOI-12" Choosing Reality Over Ambition in Reality, Otherwise You'll Get Neither.

Background

In reality, you joined a group chat where people often talk nonsense.

Description

A sentence is defined as $A\underline{\texttt{ : }}B\underline{\texttt{ is }}C\underline{\texttt{.}}$, where $A$, $B$, and $C$ are strings representing the speaker's name, the subject of the sentence, and the predicative, respectively. A sentence is considered nonsense if and only if the speaker is calling themselves weak—that is, $A$ is the same as $B$ and $C=\underline{\texttt{weak}}$. Now, you need to determine whether the given sentence is nonsense. If it is, output `Plang.`; otherwise, output `Not plang.`.

Input Format

A single line containing a string in the form of $A\underline{\texttt{ : }}B\underline{\texttt{ is }}C\underline{\texttt{.}}$. **It is guaranteed that $A$, $B$, and $C$ consist solely of lowercase English letters**.

Output Format

A single line. If the given sentence is nonsense, output `Plang.`; otherwise, output `Not plang.`.

Explanation/Hint

### **Explanation for Sample #1** In the first sample, $A=\text{zxx}$, $B=\text{zxx}$, and $C=\text{weak}$. Here, $\text{zxx}$ is calling themselves weak, which qualifies as nonsense. Therefore, the output should be `Plang.`. ### **Data Range** | Test Case ID | Special Property | |:--:|:--:| | $1\sim7$ | A | | $8\sim20$ | No special property | * **Special Property A**: $C=\underline{\texttt{weak}}$. For all test cases: It is guaranteed that $A$, $B$, and $C$ are strings consisting solely of lowercase English letters, with lengths between $1$ and $10$ (inclusive). --- *Translated by DeepSeek V3.*