# frozen_string_literal: true def solve x = (D * N).to_s y = D.to_s.size (x[0..(-y - 1)]).then { _1 == '' ? '0' : _1 } + '.' + x[-y..-1] end D = 1_234_567_891_011_121_314_151_617_181_920_212_223_242_526_272_829_303_132_333_435_363_738_394_041_424_344_454_647_484_950_515_253_545_556_575_859_606_162_636_465_666_768_697_071_727_374_757_677_787_980_818_283_848_586_878_889_909_192_939_495_969_798_991 N = gets.to_i puts solve