using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            int numero;
            numero = Convert.ToInt32(Console.ReadLine());
            int numeroAnt = numero-1;
            int numeroSuc = numero+1;
            Console.WriteLine((numero) + ", " + "antecessor eh: " + (numeroAnt) + ", " + "sucessor eh: " + (numeroSuc));
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: