from decimal import Decimal
print(Decimal('Infinity'))
print(Decimal('-Infinity'))
print(Decimal('NaN'))
print(Decimal('sNaN'))
print(Decimal('00'))
print(Decimal('+0'))
print(Decimal('-0'))
print(1 / Decimal('Infinity'))
