using System;
public class Program
{
public static void Main()
int ergebnis = 0;
int zahl1;
int zahl2;
Console.Write("Eingabe: ");
zahl1 = Convert.ToInt16(Console.ReadLine());
if (zahl1 < 250) {
if (zahl1 <125) {
zahl2 = zahl1;
ergebnis = zahl2 + 100;
} else {
zahl2 = zahl1 - 50;
ergebnis = zahl2*5;
}
Console.WriteLine("Ausgabe: {0}", ergebnis);