#85. has77

has77

Background

Description

Given an array of ints, return true if the array contains two 7's next to each other, or there are two 7's separated by one element, such as with {7, 1, 7}.

Format

Input

Output

Samples

[1 7 7]
true
[1 7 1 7]
true
[1 7 1 1 7]
false

Limitation

1s, 1024KiB for each test case.