Question: 
Write a python function to find the position of the last removed element from the given array.


Model's Code:
def get_Position(arr, n, m):
    if n <= 0 or m <= 0 or m > n:
        return -1
    position = 0
    for i in range(m):
        position = (position + 1) % n
        while arr[position] is None:
            position = (position + 1) % n
    return position + 1 if position < n else -1



Sample Correct Code:
import math as mt 
def get_Position(a,n,m): 
    for i in range(n): 
        a[i] = (a[i] // m + (a[i] % m != 0))  
    result,maxx = -1,-1
    for i in range(n - 1,-1,-1): 
        if (maxx < a[i]): 
            maxx = a[i] 
            result = i 
    return result + 1


Asserts:
assert get_Position([2,5,4],3,2) == 2
assert get_Position([4,3],2,2) == 2
assert get_Position([1,2,3,4],4,1) == 4


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 275 of 974: 198/275 (72.0%): failed