Define an ICPC-string as a string composed of the letters I, C, P, C such that every consecutive characters contain exactly two letters , one letter , and one letter .
For a given , find the number of distinct ICPC-strings of length .
Contains one integer n~(4 \le n \le 1000) — the length of the string.
Print one integer — the number of ICPC-strings of length .
Example 1