A subclass of a recently discovered class of solutions in multidimensional gravity with intersecting p-branes related to Lie algebras and governed by a set of harmonic functions is considered. This subclass in case of three Euclidean p-branes (one electric and two magnetic) contains a cosmological solution to D = 11 supergravity related to hyperbolic Kac-Moody algebra F-3 (of rank 3). This solution describes the non-Kasner power-law inflation. (C) 1999 American Institute of Physics. [S0022-2488(99)02007-1].