Answer for SC Code Marathon 2013