/ Online C# Editor for free
// Write, Edit and Run your C# code using C# Online Compiler

using System;

public class HelloWorld
{
public static void Main(string[] args)
{
//1 uzd
int a = Convert.ToInt32(Console.ReadLine());
//2 uzd
double b = Convert.ToDouble(Console.ReadLine());
//3 uzd
Console.WriteLine("Maksims Gutovs");
//4 uzd
Console.WriteLine(a+" "+b);
//5 uzd
Console.WriteLine(a+" "+Math.Round(b, 2));
//6 uzd
Console.WriteLine(a+" "+Math.Round(b, 3));
//7 uzd
Console.WriteLine("Skaitlu summa "+(a+b));
Console.WriteLine("Skaitlu summa "+(a-b));
Console.WriteLine("Skaitlu summa "+(a*b));
Console.WriteLine("Skaitlu summa "+(a/b));
//8 uzd
string c = (Convert.ToString(b));
int space = c.Length;
for (int i = 0; i < space; i++)
{
Console.Write($"{c[i]} ");
}
Console.WriteLine();
//9 uzd
for (int i = 0; i < space; i++)
{
Console.Write($"{c[i]}*");
}
Console.WriteLine();
//10 uzd
for (int i = space-1; i > -1; i--)
{
Console.Write($"{c[i]}");
}
}
}