For this Question: Ready for a super simple challenge!
You are given two integers A and B. You will create a line of boys and girls in the following manner:
First A girls, then B boys, then A girls, then B boys, and so on.
You will also be given an integer N. Find the number of girls in the first N people of the row.The first and the only line of input contains 3 integers N, A, B.

Constraints
1 < N, A, B <= 10^18 (1000000000000000000)
A+B <= 10^18Output a singer integer, the number of girls in the first N people in the queue.Sample Input
8 3 4

Sample Output
4

Explanation
The arrangement will look like GGGBBBBG, where G represents girl and B represents boy., I have written this Solution Code: n,a,b=map(int,input().split())
if n%(a+b)== 0:
    print(n//(a+b)*a)
else:
	k=n-(n//(a+b))*(a+b)
	if k >= a:
	   print((n//(a+b))*a+a)
	else:
	   print((n//(a+b))*a+k), In this Programming Language: Python, Now tell me if this Code is compilable or not?