CF11D A Simple Task

Description

Given a simple graph, output the number of simple cycles in it. A simple cycle is a cycle with no repeated vertices or edges.

Input Format

The first line of input contains two integers $ n $ and $ m $ ( $ 1

Output Format

Output the number of cycles in the given graph.

Explanation/Hint

The example graph is a clique and contains four cycles of length 3 and three cycles of length 4.