#!/usr/bin/python3
import sys

def safe_print_integer_err(value):
    try:
        print("{:d}".format(value))
    except (ValueError, TypeError) as fail:
        stderr.write("Exception: {}\n".format(fail))
        return False
    return True

d00e1ea6bda300cc87bd4d89336e0cb7e7d8c684
<mask token>

<mask token>


def safe_print_integer_err(value):
    try:
        print('{:d}'.format(value))
    except (ValueError, TypeError) as fail:
        stderr.write('Exception: {}\n'.format(fail))
        return False
    return True

import sys


def safe_print_integer_err(value):
    try:
        print('{:d}'.format(value))
    except (ValueError, TypeError) as fail:
        stderr.write('Exception: {}\n'.format(fail))
        return False
    return True

#!/usr/bin/python3
import sys

def safe_print_integer_err(value):
    try:
        print("{:d}".format(value))
    except (ValueError, TypeError) as fail:
        stderr.write("Exception: {}\n".format(fail))
        return False
    return True
