For this Question: Given three distinct numbers a, b and c which denotes the age of three people 1, 2, 3.
Output the youngest and oldest person among three.Three integers are given as input. a, b, and c denotes the age of person 1, 2, 3 respectively.

<b>Constraints</b>
1 &le; a &le; 10<sup>5</sup>
1 &le; b &le; 10<sup>5</sup>
1 &le; c &le; 10<sup>5</sup>Print the youngest and the oldest person number respectivley.Sample Input:
12 11 7

Sample Output:
3 1

Explanation:
7 is the least among all three so 3 has the least age and similarly, 12 is the maximum among three so 1 is the oldest., I have written this Solution Code: a,b,c = map(int,input().split())
youngest = min(a, b, c)
oldest = max(a, b, c)

# output the youngest and oldest person

if youngest == a:
    g = 1
elif youngest == b:
    g = 2
else:
    g = 3


if oldest == a:
    s = 1
elif oldest == b:
    s = 2
else:
    s = 3

print(g,s), In this Programming Language: Python, Now tell me if this Code is compilable or not?