### Task
 King Arthur and his knights are having a New Years party. Last year Lancelot was jealous of Arthur, because Arthur had a date and Lancelot did not, and they started a duel.
 To prevent this from happening again, Arthur wants to make sure that there are at least as many women as men at this year's party. He gave you a list of integers of all the party goers. 
 Arthur needs you to return true if he needs to invite more women or false if he is all set.
### Input/Output
 - `[input]` integer array `L` (`$a` in PHP)
  An array (guaranteed non-associative in PHP) representing the genders of the attendees, where `-1` represents `women` and `1` represents `men`.
  `2 <= L.length <= 50`
- `[output]` a boolean value
  `true` if Arthur need to invite more women, `false` otherwise.
def invite_more_women(arr):
    #your code here
    a, b = 0, 0
    for i in arr:
        if i == 1:
            a = a+1
        if i == -1:
            b = b+1
    
    if a == b or a<b:
        c = False
    else: c = True
    return c
def invite_more_women(arr):
    #your code here
    a, b = 0, 0
    for i in arr:
        if i == 1:
            a = a+1
        if i == -1:
            b = b+1
    
    if a == b or a<b:
        c = False
    else: c = True
    return c