```python
def octal_To_Decimal(n):
    """
    Converts an octal number (represented as an integer) to a decimal number.
    
    For example, if the octal number is 12, the input n will be the integer 12.
    The function will convert it to the decimal number 10.
    """
    
    # First, convert the integer representation of the octal number to a string.
    octal_string = str(n)
    
    # Use the built-in int() function with base 8 to convert the string to a decimal integer.
    decimal_value = int(octal_string, 8)
    
    return decimal_value

```