using System; using System.Collections.Generic; public class Program { static void Main() { string Kingaku_ = Console.ReadLine(); string Yukikoda_ = ""; string P_ = ""; int i = 0; while (Kingaku_.Substring(i,1) != " ") { Yukikoda_ = Yukikoda_ + Kingaku_.Substring(i,1); i++; } P_ = Kingaku_.Substring(i + 1, 1); int Yukikoda = Convert.ToInt32(Yukikoda_); int P = Convert.ToInt32(P_); double Kingaku = Yukikoda + (Yukikoda * P / 100); string result = Convert.ToString(Kingaku); int k = result.IndexOf("."); if (k > 0) { result.Remove(k); } Console.WriteLine(result); } }