A combination of two thin lenses with focal lengths f1 and f2 respectively forms an image of distant object at distance 60 cm when lenses are in contact. The position of this image shifts by 30 cm towards the combination when two lenses are separated by 10 cm. The corresponding values of f1 and f2 are