#K1781. Pascal's Triangle Row Sum
Pascal's Triangle Row Sum
Pascal's Triangle Row Sum
Given a non-negative integer r, compute the sum of the elements in the r-th row of Pascal's Triangle. It is known that the sum of the elements in the r-th row is given by the formula:
\(2^r\)
Your task is to read the integer r from standard input and output the value of \(2^r\) as an integer to standard output.
Note: The input will consist of a single integer and the output should be exactly the computed result.
inputFormat
The input contains a single integer r on one line. The integer represents the row index in Pascal's Triangle.
Constraints: 0 ≤ r ≤ 20 (for the purpose of this problem).
outputFormat
Output a single integer, which is the sum of the elements in the r-th row of Pascal's Triangle. According to the formula, the result is \(2^r\).
## sample0
1