{"extraResources":{"example.01.mu":"TVXzATQzNDYgMQ0K"},"scoring":null,"notes":"","legend":"In a distant magical kingdom, each wizard was assigned a fixed monthly salary upon starting their service.\r\n\r\nHowever, there was a problem: while the wizard diligently cast spells, prices increased over the year due to inflation.\r\n\r\nTo curb the rapid rise in prices, the wise king announced on the first day of the first month of the year the final annual inflation rate $p$ and allowed prices to be raised only once a month: exactly one day before the wizards' salaries were paid. The wizards' salaries are paid on the last day of each month.\r\n\r\nMoreover, for convenience, he established that there are only ten months in a year, and each month has thirty days. Each month, prices were to rise by exactly $p / 10$ percent of the price of goods at the \\textbf{beginning} of the year. Thus, the cost of any good increased by exactly $p$ percent over the year.\r\n\r\nThe \\textit{current salary payment system} is structured as follows. On the first day of the first month of the year, a salary of $n$ gold is assigned, which they will receive at the end of each month of the year. Additionally, salaries are indexed each year: if the monthly salary in a given year is $n$ gold, and the inflation rate is $p$, then the monthly salary for the next year will be $p$ percent higher, that is, it will become $n + (np / 100)$ gold.\r\n\r\nIs this an ideal solution? No! The wizards are still dissatisfied: prices rise monthly, while salaries only increase once a year. The wizards propose an alternative called the \\textit{progressive salary payment system}: on the last day of each month, the amount paid as salary has the same purchasing power that the salary of $n$ gold had on the first day of the first month of the year. In other words, for this amount, you can buy exactly the same quantity of any goods that could be purchased for $n$ gold on the first day of the first month.\r\n\r\nTo assess this injustice, the king has tasked you with determining, based on the wizard's monthly salary at the beginning of the year, how much money they lose over the year under the current salary payment system compared to the progressive salary payment system.","authorLogin":"Olympic_Bear","language":"english","timeLimit":1000,"output":"Output the amount that the wizard will lose this year compared to the progressive salary payment system.\r\nRemember that a year in the magical kingdom consists of ten months.\r\nThe answer is considered correct if the absolute or relative error does not exceed $10^{-4}$.","inputFile":"stdin","outputFile":"stdout","input":"The first line contains two integers $n$ and $p$ separated by a space: the monthly salary of a wizard in gold and the annual inflation rate ($10^3 \\le n \\le 10^5$; $0 \\le p \\le 100$).","authorName":"Nikolay Dubchuk","sampleTests":[{"output":"239.03","input":"4346 1\r\n","inputFile":"example.01","outputFile":"example.01.a"}],"name":"Inflation","interaction":null,"memoryLimit":1073741824,"tutorial":"Either by the formula $n * 5.5 * p / 100$.\r\nOr by enumeration: in the first month, the loss is $n * p / 10$, in the second month, the loss is $2 * n * p / 10$, ... in the tenth month, the loss is $10 * n * p / 10$."}