In mathematics, the Fibonacci numbers, commonly denoted as

, is a sequence such that each number is the sum of the two preceding numbers, starting with

and

. That is,

and
)
.
Thus, the beginning of the sequence is

.
Given

, please calculate
%7D%7D)
, where
%20%3D%201%7D)
when

is even, otherwise
%20%3D%200%7D)
.