Write a program that reads the input and prints the answer. Run checks it against every test, including hidden ones.
These problems is part of Practice and above
Starter covers the basics and DSA in Python and C++. Already on a paid plan? Sign in to open it.