Company: Goldman_Sachs_12nov
Difficulty: medium
Productivity Score Problem Description You are an analyst working on a performance report that records productivity metrics for various departments in your company. Each row in the report consists of five values: - The first three columns (A, B, and C) represent productivity scores for three distinct tasks. - The fourth column (D) is a department-specific multiplier. - The fifth column (E) is the final productivity score, which may be missing. The report will represent missing E as '-1'. The final productivity score is calculated using the formula: Final productivity score (E) = Sum of first three columns (A + B + C) x Multiplier (D) Your task is to write a program that processes N rows of data in the input. For each row where the final productivity score (E) is missing, compute its value using the formula above. Output all computed values in the order in which they appear in the input. Read the input from STDIN and print the output to STDOUT. Do not print arbitrary strings anywhere in