spoj#MULTIPLY. Fast Multiplication Again
Fast Multiplication Again
After trying to solve Problem Number 31 (Fast Multiplication) with some script languages that support arbitrary large integers and timing out, you wonder what would be the best language to do fast multiplication of integers. And naturally it comes to your mind: Of course it is brainf**k, because there are only very cheap operations in that language.
Input
Two positive integers, ended with a line feed (ASCII 10) each.
Output
The product of the two integers, terminated by a line feed. You may assume that this number will be less than 10000.
Example
Input: 1 2</p>Output: 2