package laba1;

import java.util.Scanner;

public class Example14 {
    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);

        System.out.print("Enter a number: ");
        int x = in.nextInt();

        System.out.println((x - 1) + " " + x + " " + (x + 1));

        in.close();
    }
}
