Problems
10028 - Work
SUBMIT PROBLEM

Work

Time Limit: 1 sec

 

The Problem

Work, work, work. You might head off to your job one day, sit infront of  computer, and type  the keys. That's all we do here. Is that work?

To a physicist, work is not all of it. According to the physics,Work is done when a force applied to an object and makes move to object.

The work is calculated by multiplying the force with the amount of movement of an object (W = F * d).

 

Make a simple program that reads two variables named F, d. Calculate and print the work W.

 

The Input

Input file contains a series of line, each line contain 2 integer numbers F, and d (0< F, d<1000). Input is terminated by EOF.

 

The Output

For each line of input, output will show the work W in a separate line.

 

Sample Input

200 50

3 10

 

Sample Output

10000

30

 

 

 

[School & College Level]

1st Online Programming Contest 2016 by Outsbook

Problem Setter: Shahin ShamS