#19. 不含2或3

    ID: 19 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatArray-1gesp1条件结构

不含2或3

No 2 or 3

Background

Congcong is playing a simple number game. He has an array containing two integers, and he wants to know if this array satisfies a special condition.

Problem Description

Given an integer array of length 22, return true if it does not contain a 22 or a 33; otherwise, return false.

Input Format

Input is given from standard input in the following format.

[a b]

Where aa and bb are the two integers in the array.

Output Format

Output is printed to standard output in the following format.

true or false

Sample

[4 5]
true
[4 2]
false
[3 5]
false

Sample Explanation

Sample 1: The array [4 5] does not contain 22 or 33, so it returns true. Sample 2: The array [4 2] contains 22, so it returns false. Sample 3: The array [3 5] contains 33, so it returns false.

Constraints

Time limit for each test case is 11 second, and memory limit is 10241024 KiB.