結果
| 問題 | No.1556 Power Equality | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-04-26 12:58:56 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 198 bytes | 
| コンパイル時間 | 218 ms | 
| コンパイル使用メモリ | 82,176 KB | 
| 実行使用メモリ | 52,096 KB | 
| 最終ジャッジ日時 | 2024-06-28 07:28:07 | 
| 合計ジャッジ時間 | 1,573 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 2 | 
| other | WA * 9 | 
ソースコード
a,b = map(int,input().split())
import sys
if a == b:
    print('YES')
    exit()
if a == 2 and b == 4:
    print('YES')
    exit()
if a == 4 and b == 2:
    print('YES')
    exit()
    
print('NO')
            
            
            
        