#73. has22

has22

Background

Description

Given an array of ints, return true if the array contains a 2 next to a 2 somewhere.

Format

Input

Output

Samples

[1 2 2]
true
[1 2 1 2]
false
[2 1 2]
false

Limitation

1s, 1024KiB for each test case.