from machine import Pin
import time
m11 = Pin(22,Pin.IN)
m12 = Pin(21,Pin.IN)
m21 = Pin(4,Pin.IN)
m22 = Pin(2,Pin.IN)
s1 = Pin(13,Pin.IN)
s2 = Pin(13,Pin.IN)
s3 = Pin(12,Pin.IN)

while 1:
    m11val = input("First input")
    m12val = input("Second input")
    m21val = input("Third input")
    m22val = input("Fourth input")
    s1Val = input("Serial 1: ")
    s2Val = s1Val
    s3Val = input("Serial 2: ")