# -*- coding: utf-8 -*-
# Leonardo Deliyannis Constantin
# URI 2754 - Saída 8

def main():
    a, b = 234.345, 45.698
    print("%.6f - %.6f" % (a, b))
    print("%.0f - %.0f" % (a, b))
    print("%.1f - %.1f" % (a, b))
    print("%.2f - %.2f" % (a, b))
    print("%.3f - %.3f" % (a, b))
    print("%e - %e" % (a, b))
    print("%E - %E" % (a, b))
    print("%g - %g" % (a, b))
    print("%g - %g" % (a, b))
    
if __name__ == '__main__':
    main()
