#Ruby: 22 characters <!-- language: lang-ruby --> n.downto(1).reduce(:*)