#K79257. Unique Dishes from Ingredients

    ID: 35268 Type: Default 1000ms 256MiB

Unique Dishes from Ingredients

Unique Dishes from Ingredients

You are given an integer N which represents the total number of ingredients available. Using these ingredients, a dish is created by choosing a non-empty subset of ingredients. Therefore, the total number of unique dishes that can be created is given by the formula:

\(2^N - 1\)

Your task is to compute and output this value for a given N. Ensure that your program reads from standard input and writes to standard output.

inputFormat

The input consists of a single line containing an integer (N) ((1 \leq N \leq 1000)).

outputFormat

Output a single integer representing the total number of unique dishes possible, which is calculated as (2^N - 1).## sample

1
1

</p>