/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone {
	public static void main (String[] args) throws java.lang.Exception {
		System.out.format("bengaliToArabic('১') == %s // char\n", bengaliToArabic('১'));
		System.out.format("bengaliToInt('১')    == %s // int\n", bengaliToInt('১'));
	}

	/**
     *
     * Convert a bengali numeral to its arabic equivalent numeral.
     *
     * @param bengaliNumeral bengali numeral to be converted
     *
     * @return the equivalent Arabic numeral
     * @see #bengaliToInt
     */
    public static char bengaliToArabic(char bengaliNumeral) {
        return (char) (bengaliNumeral - '০' + '0');
    }

    public static int bengaliToInt(char bengaliNumeral) {
        return Character.getNumericValue(bengaliNumeral);
    }
}