For this Question: Sara is giving a True False exam consisting of 10 questions. In which she knows that exactly X of the given questions are True and the rest are false (thanks to her friend) but she does not know the order. This time she decided to fill it optimally so that in any case she can get the maximum of minimum marks possible.
Given the value of X, your task is to tell Sara what can be the maximum of minimum marks she can get. i. e out of every minimum mark for a different number of True and False what will be the maximum of that minimum.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>maximumMarks()</b> that takes integer X as argument.

Constraints:-
 0 <= X <= 10Return the maximum marks of all the minimum possible.Sample Input:-
X = 5

Sample Output:-
5

Explanation:-
One of the possible solutions is she can mark all the answers true.

Sample Input:-
1

Sample Output:-
9, I have written this Solution Code: def maximumMarks(X):
    if X>5:
        return (X)
    return (10-X)
    
, In this Programming Language: Python, Now tell me if this Code is compilable or not?