There exist certain strings, known as $Unique$ $Strings$. They possess a unique property: 
- The character 'c' gets converted to "ff" and the character 'k' gets converted to "gg". Any letter besides 'c' and 'k' does not get converted to any other character.
Your job is to count the number of strings that could possibly be represented by a given unique string. Since the value could be very large, output the remainder when divided by $10^9+7$.
Note that if the given string is not a unique string, i.e. it contains either 'c' or 'k', output $0$.

-----Input:-----
- The first line of input contains a string, $s$.

-----Output:-----
- Output in a single line the possible number of strings modulo $10^9+7$.

-----Constraints-----
- $1 \leq |s| \leq 10^5$
where |s| denotes length of string.

-----Sample Input 1:-----
thing

-----Sample Input 2:-----
ggdffn

-----Sample Input 3:-----
fff

-----Sample Input 4:-----
cat

-----Sample Output 1:-----
1

-----Sample Output 2:-----
4

-----Sample Output 3:-----
3

-----Sample Output 4:-----
0

-----EXPLANATION:-----
The possible strings that can be represented by the given string in each of the examples are as follows:
$1)$ 'thing'
$2)$ 'ggdffn','kdffn','ggdcn','kdcn'
$3)$ 'fff','cf','fc'
$4)$ Since the string 'cat' contains 'c', it is certain that this string is not a unique string. Hence, the output is $0$.

```python

USER_FILENAME = "<user_code>"
import sys, json, builtins
import math, heapq, bisect, itertools, functools, collections, statistics, fractions, decimal, operator, array, random, re, string, os, pathlib
try:
    import resource as _res
except Exception:
    _res = None
from collections import Counter, defaultdict, deque, OrderedDict
from functools import lru_cache, reduce
from itertools import accumulate, permutations, combinations, product
from math import gcd, ceil, floor, sqrt
from decimal import Decimal
try:
    from typing import *
except Exception:
    pass
try:
    sys.setrecursionlimit(1_000_000)
except Exception:
    pass
try:
    import site as _site
    try:
        _sys_sites = _site.getsitepackages() if hasattr(_site, "getsitepackages") else []
        for _p in _sys_sites:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
    try:
        _usp = _site.getusersitepackages()
        if isinstance(_usp, str):
            _usp = [_usp]
        for _p in _usp:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
except Exception:
    pass

ns = {"__name__": "__main__"}
for _k, _v in list(globals().items()):
    if not _k.startswith("_"):
        ns[_k] = _v
_CODE = 'import random\nimport time\n\n\ndef get_input():\n # _ = int(input())\n inp_str = input()\n return inp_str\n\n\ndef get_nth_fibbo(n):\n a = 0\n b = 1\n # ndash = n\n while n > 0:\n  a, b = b, a+b\n  n -= 1\n # print(ndash, b)\n return b\n\n\ndef count_unique(inp_str):\n unique_count = 1\n if "c" in inp_str or "x" in inp_str:\n  return 0\n count_arr = []\n cur_chr = None\n cur_chr_len = 0\n for char in inp_str:\n  if cur_chr is None:\n   cur_chr = char\n   cur_chr_len = 1\n   continue\n  if char == cur_chr:\n   cur_chr_len += 1\n  else:\n   if cur_chr in ["f", "g"]:\n    count_arr.append(cur_chr_len)\n   cur_chr = char\n   cur_chr_len = 1\n if cur_chr in ["f", "g"]:\n  count_arr.append(cur_chr_len)\n # print(count_arr)\n for count in count_arr:\n  unique_count *= get_nth_fibbo(count)\n return unique_count\n\n\ndef test():\n n = random.randint(5, 10)\n ord_a = ord("e")\n ord_z = ord("h") + 1\n inp_str = "".join([\n  chr(random.randrange(ord_a, ord_z))\n  for _ in range(n)\n ])\n unique_count = count_unique(inp_str) % (10 ** 9 + 7)\n if unique_count > 10:\n  print("Input: {}".format(inp_str))\n  print("Unique: {}".format(unique_count))\n  time.sleep(2)\n\n\ndef stress_test():\n while True:\n  test()\n\n\ndef main():\n inp_str = get_input()\n r = count_unique(inp_str) % (10 ** 9 + 7)\n print(r)\n\n\ndef __starting_point():\n # stress_test()\n # test()\n main()\n\n\'\'\'\nfffff\ncfff\nccf\ncfc\nfcff\nfcc\nffcf\nfffc\n\n\'\'\'\n\n__starting_point()'
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 14491