from machine import Pin
import time
J1=Pin(19,Pin.IN)
U1=Pin(21,Pin.IN)
N1=Pin(22,Pin.IN)
O1=Pin(23,Pin.IN)
led=Pin(25,Pin.OUT)
def fun():
while True:
J= J1.value()
U= U1.value()
N= N1.value()
O= O1.value()
if (L or V and not S or S and not F):
led.on()
else:
led.off()
fun()