#Lutece2317. Nico~Nico~Ni~

Nico~Nico~Ni~

Migrated from Lutece 2317 Nico~Nico~Ni~

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

Nico

As we all know, Nico Yazawa is the queen of kichiku in bilibili and no one can avoid being brainwashed by her NicoNicoNi~.If you don't, please click here.

Just now another video about Nico was uploaded to bilibili. As a counting bacteria, you want to count how many NicoNicoNi~ can be heard in the video.

More generally, you will be given a string SS only consisting of letters N, i, c and o, and you should calculate the number of substrings equal to NicoNicoNi of SS.

Note that a substring of a string SS is a continuous segment of letters from SS. For example, tec is a substring of Lutece but tce is not.

Input

A string SS only consisting of letters N, i, c and o, the length of SS will not exceed 10510^5.

Output

Please print NicoNicoNi * n, and nn is the number of substrings that equals to NicoNicoNi of SS. (Please note the blank space!)

Samples

NicoNicoNicoNicoNico
NicoNicoNi * 3

Resources

电子科技大学第十一届 ACM 趣味程序设计竞赛