#PCBSAU0000046. Giá trị sau n kỳ tăng trưởng (Value after N Growth Periods)

Giá trị sau n kỳ tăng trưởng (Value after N Growth Periods)

Value after N Growth Periods

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given initial value PP, growth rate rr percent per period and nonnegative periods nn, compute P(1+r/100)nP(1+r/100)^n and print two decimals without intermediate rounding.

Input

One line containing P,r,nP,r,n in order.

Output

One line showing the final value with exactly two decimal digits.

Subtask

  • Subtask 1 — 100 points: PP is a multiple of 4 from 0 to 40000; rr belongs to {0,25,50,100}; nn is 0–4.

Example

Input

100 25 2

Output

156.25

Explanation

Each period multiplies by 1.25, so two periods give 100 * 1.25 * 1.25 = 156.25.