n=int(input("Enter number of figures: ")) S=input("Enter E or W") A=input("") Q=int(input("Enter the number of trials"))