using 10V/200mA sensor as input

hello
I have an optical sensor that outputs 10V/200mA when triggered
how can I connect it to an arduino input pin?

I tried a voltage dividir (330/220), but the voltage dropped to 0.3V instead 4V

thanks

I connected a 20k resistor (not a voltage divider) from the sensor output to ground
then the voltage on the sensor dropped to 4.5V, which is perfect for me

I have no idea if it's safe, but it worked