Using an opamp with fractionnal gain with supply less than input signal
Figure 1. Inverting and non-inverting amplifiers. All About Circuits.

The inverting amplifier gain is given by \$ A = -\frac {R_2}{R_1} \$ and the inverting input is at virtual ground so it will be fine.

You can see that the non-inverting amplifier has it's Vin connected directly to the input so this can't be directly fed. Instead you would use a potential divider on the input to bring the voltage down to within the common-mode voltage for the op-amp. The gain is given by \$ A = \left(1 + \frac {R2}{R1} \right)\$ and if you set R1 to infinity (open circuit) the gain will be 1.