using System; namespace Scholarship { class Program { static void Main(string[] args) { double income = double.Parse(Console.ReadLine()); double grades = double.Parse(Console.ReadLine()); double minimalIncome = double.Parse(Console.ReadLine()); double socialPrice = minimalIncome * 0.35; double excellentPrice = grades * 25; if (grades <= 4.5) { Console.WriteLine("You cannot get a scholarship!"); } else if (grades <= 5.5 && income > minimalIncome) { Console.WriteLine("You cannot get a scholarship!"); } else if (grades > 4.5 && grades < 5.5 && income < minimalIncome ) { Console.WriteLine($"You get a Social scholarship {socialPrice} BGN"); } else if (grades >= 5.5 && income < minimalIncome) { if (socialPrice > excellentPrice) { Console.WriteLine($"You get a Social scholarship {socialPrice} BGN"); } else if (socialPrice < excellentPrice) { Console.WriteLine($"You get a scholarship for excellent results {excellentPrice} BGN"); } } else { Console.WriteLine($"You get a scholarship for excellent results {excellentPrice} BGN"); } } } }