package lab2;

public class task3 {

    public static void main(String[] args) {
        short toto = (short) (0xFFFFF);
        System.out.println(toto);
        toto = (short) (toto + 1);
        System.out.println(toto);
    }
    
}
