Time Limit: 1 sec
You are given a room for carpeting. The width, W of the room is three times of its length, L. You demand M taka for carpeting per meter2 of the room. The total cost for carpeting the room is N taka.
Your task is to find the length and width of the room.
The input file contains two floating numbers, cost of carpeting per meter, M( 0 < M <= 10000) and the total cost of carpeting, N( 0 < N <= 10000).
The Output will print the width and length of the room rounded to 2 decimal points in a separate line.
The length is 7.00 meter
The width is 21.00 meter
Problem Setter: Samia Safa Ahmed