class Main
{
    public static void main(String[] args)
    {
        int a[] = {64, 66, 67, 37, 73, 70, 95, 52, 81, 82};
        
        for (int i = 0; i < a.length; i++)
        {
            a[i] = a[i] %10;
        }
        for (int i = 0; i < a.length; i++)
        {
            System.out.print(a[i] + " ");
        }
    }
}

Embed on website

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