<gh_stars>0
# https://www.hackerrank.com/challenges/floor-ceil-and-rint/problem

import numpy
numpy.set_printoptions(sign=' ')
a = numpy.array(input().split(),float)
print(numpy.floor(a))
print(numpy.ceil(a))
print(numpy.rint(a))


# https://www.hackerrank.com/challenges/floor-ceil-and-rint/problem

import numpy
numpy.set_printoptions(sign=' ')
a = numpy.array(input().split(),float)
print(numpy.floor(a))
print(numpy.ceil(a))
print(numpy.rint(a))
# https://www.hackerrank.com/challenges/floor-ceil-and-rint/problem