Problems
easyProduct of Digits
2 Koda Coins

Product of Digits

easy2s limit💾 64 MB

Description

Given an integer N, calculate the product of its digits.


Input Format

  • A single integer N.

  • Output Format

  • Print the product of the digits.

  • Constraints

  • 1 <= N <= 10^9