In Byteland they have a very strange monetary system.
Each Bytelandian gold coin has an integer number written on it. A coin n
can be exchanged in a bank into three coins: n/2, n/3 and n/4.
But these numbers are all rounded down (the banks have to make a profit).
You can also sell Bytelandian coins for American dollars. The exchange
rate is 1:1. But you can not buy Bytelandian coins.
You have one gold coin. What is the maximum amount of American dollars
you can get for it?
Input
The input will contain several test cases (not more than 10). Each
testcase is a single line with a number n, 0 ≤ n ≤ 1 000 000 000.
It is the number written on your coin.
Output
For each test case output a single line, containing the maximum amount
of American dollars you can make.
Example
Input:
12
2
Output:
13
2
You can change 12 into 6, 4 and 3, and then change these into
6+4+3=13.
If you try changing the coin 2 into 3 smaller coins, you will get
1, 0 and 0, and later you can get no more than 2.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
We need to compute maximum dollars obtainable from coin with integer n, via either exchanging it into three coins (floor(n/2), floor(n/3), floor(n/4)) or selling it directly for n dollars. This is a classic problem: maximize total by possibly recursively exchanging coins. The naive recursion: f(n) = max(n, f(n//2) + f(n//3) + f(n//4)). But n can be up to 1e9, so direct recursion with DP array is not feasible. However, the number of distinct states visited is limited because the recursive calls divide n by 2, 3, 4. Since each division floor, the number of distinct n's reachable is about O(log n) maybe? Actually it can be many. But we can use memoization with dictionary, and it works because the recursion quickly reduces n. For n up to 1e9, the number of distinct states visited is not huge; I've seen this problem before (UVA 103—The Coin Change problem? Actually there is a classic problem "Bytelandian gold coins" from SPOJ/CodeChef etc). Typically, we implement recursion with memoization using dictionary, and it works fine for n up to 1e9. However, we have up to 10 test cases, so we need to handle each efficiently.
Let's analyze the number of states. Starting from n, we generate floor(n/2), floor(n/3), floor(n/4). Recursively each of those generate their own divisions. Some states may repeat across different paths. The total distinct states visited for n up to 1e9 is around a few thousand, maybe 10^5? Actually I recall typical solutions using memoization with a map (or unordered_map) for n up to 1e9 works. Let's approximate: The recursion is like a ternary tree with reductions by at least factor 2 each step? Actually n/4 is the smallest; the largest subproblem is n/2. So depth is about log_2 n ~ 30. But the branching factor is 3, so naive upper bound is 3^{30} huge, but many nodes are shared because floor division yields overlapping numbers. For example, floor(floor(n/2)/3) might equal floor(n/6) etc. The set of numbers reachable is all numbers of the form floor(n / (2^i * 3^j * 4^k))? Actually careful: we always take floor division by 2,3,4 in any order. The result after a sequence of divisions is floor( n / (a1 * a2 * ... ) )? Not exactly because floor division is not associative: floor(floor(n/a)/b) = floor(n/(ab))? Actually floor(floor(n/a)/b) = floor( n/(ab) ) if n, a, b integers? Let's test: n=5, a=2, b=2: floor(5/2)=2, floor(2/2)=1, while floor(5/(22))=floor(5/4)=1. So floor(floor(n/a)/b) = floor( n/(ab) )? For positive integers, yes because floor division property: floor(floor(n/a)/b) = floor( n/(ab) )? Consider n=7, a=2, b=2: floor(7/2)=3, floor(3/2)=1, floor(7/4)=1. Works. For n=1, a=2, b=2: floor(1/2)=0, floor(0/2)=0, floor(1/4)=0. So indeed floor(floor(n/a)/b) = floor(n/(ab)). Because floor division in integer arithmetic: floor(n/(ab)) = floor(floor(n/a)/b). This is a known property for positive integers. So any sequence of divisions by constants 2,3,4 results in floor(n / d) where d is product of the numbers used. But the order doesn't matter; the result is floor(n / d) where d = 2^i * 3^j * 4^k. However, note that 4 = 2^2, so we could combine. But essentially each recursive path yields numbers of the form floor(n / (2^a * 3^b)) with a,b >=0 (since 4 contributes 2^2). Actually 4 is 2^2, so we can treat it as extra factor of 2. But careful: 4 is a separate division; but we could replace two divisions by 2 with one division by 4? Not exactly because we might have a mix of 2,3,4. However, any product of numbers from {2,3,4} can be expressed as 2^i * 3^j, where i includes contributions from 2's and two from each 4. So i = (# of 2 divisions) + 2(# of 4 divisions), j = (# of 3 divisions). So all reachable numbers are of the form floor( n / (2^i * 3^j) ) for some nonnegative integers i, j. But is that the complete set? Might also be numbers from intermediate steps where we don't just divide by product but we sum independent recursions? Actually note that the recursion f(n) = max(n, f(floor(n/2)) + f(floor(n/3)) + f(floor(n/4))). So the states we evaluate are numbers that appear as some floor(n / (2^i * 3^j)). But also, the sum of f of subproblems can involve numbers that are not directly of that form? They are the same because arguments are floor(n/2) etc. And these are of the form floor(n / (2^i * 3^j)). So the state space is numbers of the form floor(n / d) where d is of the form 2^i * 3^j. For n up to 1e9, i and j are limited: i such that 2^i <= n => i <= log2(1e9) ~ 30. j such that 3^j <= n => j <= log3(1e9) ~ log10(1e9)/log10(3) ~ 9/0.477 ~ 18.85 => 18. So total possible (i,j) pairs is at most 31*19 = 589. However, not all such numbers are distinct because floor(n/(2^i * 3^j)) can yield same value for different (i,j). But the total distinct values should be bounded by roughly O(log^2 n) ~ few hundred. Actually typical solutions use recursion with map and they find maybe a few thousand states for large n; but it's definitely manageable. However, note that we have up to 10 test cases, each with different n; if we use a fresh map per test case, it's fine. But we could also share a global memoization across test cases if we want, but it's unnecessary.
But careful: The recursion may also include numbers that are results of sum of f's? Actually the state is the coin value; we compute f for that value. The recursion will call f for floor(n/2), which itself may call f for floor(floor(n/2)/2) = floor(n/4), etc. So all states are of the form floor(n / d) as argued. So total states are limited.
Therefore we can implement a recursive function with memoization (dictionary) that returns the max dollars for a given n. But note: when n=0, the coin is worth 0 dollars (since can't sell? Actually exchange yields 0, but selling gives 0 as well). So f(0)=0.
But careful: The problem statement says "0 ≤ n ≤ 1 000 000 000". So n can be 0. For n=0, obviously maximum dollars is 0.
Now, standard solution: f(n) = max(n, f(n//2) + f(n//3) + f(n//4)). Use a map to store computed results.
However, there is one nuance: For n large, recursion depth could be up to number of divisions. But maximum depth is about log_2 n, around 30, safe.
Implementation: For each test case, read integer n, compute result, print.
We need to ensure efficiency: Use unordered_map (C++) or dict (Python). In Python, recursion limit is default 1000, so fine. But we may have to handle up to 10 test cases; each recursion might call many times, but it's fine.
But wait: In Python, recursion overhead may be okay for a few thousand calls. However, the number of distinct states for a single n might be on the order of a few hundred; so total calls maybe 500-1000 per test case. That's trivial.
But let's double-check: For n=1e9, we compute f(1e9). The distinct states: numbers like floor(1e9 / (2^i * 3^j)). For i=0..30, j=0..18. That's 589 combos, but many will be zero when divisor > n. So actual distinct states maybe ~400-500. So recursion is fine.
But some people have noted that for n=1000000000, the recursion might need memoization across test cases because of repeated subproblems? Not necessary.
Therefore simple solution in Python:
code
def max_dollars(n, memo):
if n in memo:
return memo[n]
if n == 0:
return 0
# compute exchange value
total = max_dollars(n//2, memo) + max_dollars(n//3, memo) + max_dollars(n//4, memo)
res = max(n, total)
memo[n] = res
return res
But careful: This recursion may cause many repeated calls if we don't store. Use memo.
Now, we must consider that for large n, recursion may cause some overhead but it's okay.
But wait: There is also a known iterative DP using map with bottom-up? Not needed.
Edge Cases:
n=0: f(0)=0.
n=1: f(1)=max(1, f(0)+f(0)+f(0)=0) =1.
n=2: max(2, f(1)+f(0)+f(0)=1) =2. So matches example.
Now the input: multiple test cases, not more than 10. Input terminates at EOF. So we need to read lines until EOF.
Example: Input:
12
2
So we output:
13
2
Implementation: read all lines, for each line strip, if empty skip, else process.
In Python, can do:
code
import sys
sys.setrecursionlimit(10000) # just to be safe
def solve():
memo = {}
def f(n):
if n < 2: # Actually for n=0,1? but we need to compute for n=1: total=f(0)+... =0, so max=1. So we can treat base as n<some? But better to use memo.
# but n=0 and n=1 are base? Actually f(1)=max(1, f(0)+f(0)+f(0)=0)=1, so we could directly return n if n<2? But careful: For n=2, it's not base. So if n<2: return n? That works for 0 and 1. For 2: 2>? It's not base. So we can do if n < 2: return n. That's okay because for n=0 and 1, the optimal is n (since exchange yields less or equal). For n=2, exchange yields 1, so we need to compute. So base condition can be n < 2.
return n
if n in memo:
return memo[n]
total = f(n//2) + f(n//3) + f(n//4)
res = max(n, total)
memo[n] = res
return res
for line in sys.stdin:
line = line.strip()
if line:
n = int(line)
print(f(n))
But we need to ensure memo is cleared for each test case? Actually memo can be reused across test cases because it's just a dictionary of computed f for numbers. That might be beneficial because some numbers may appear in multiple test cases. However, careful: f(n) depends only on n, so we can share memo globally across all test cases. This is safe and speeds up. So we can have memo as a dictionary outside the loop, reused.
But what about the recursion causing stack overflow? Depth is about log_2(1e9) ~ 30, safe.
But is there any catch? The property that floor(floor(n/a)/b) = floor(n/(a*b)) holds for positive integers. So we are safe.
But sometimes people have observed that for n up to 10^9, the recursion with memo yields about a few thousand calls, but Python recursion overhead may be okay. However, we must be careful that Python's recursion limit is 1000, and we may have deep recursion? Not really; depth is limited because each call reduces n by at least factor 2? Actually worst-case depth could be if we keep dividing by 2 many times: n, n//2, n//4, ... until 0. That's about log2(n) ~ 30. So fine.
Alternatively, we could implement an iterative DP with a stack, but recursion is simpler.
Now, to be thorough, let's test on some known values:
n=24: I expect something like maybe 27? Let's compute manually maybe: 24 -> 12,8,6 -> from 12 we get 13, 8 yields max(8, f(4)+f(2)+f(2)=4+2+2=8)=8, 6 yields 6, so total =13+8+6=27. f(24)=max(24,27)=27. So output 27. That matches known.
Now consider n=1000000000: compute quickly? Not needed.
Thus solution is straightforward.
But the problem might have a twist: The input may be up to 10 test cases, each n up to 1e9, but we need to be careful about performance. However, as argued it's fine.
Let's implement.
But there is an alternative approach: using a BFS or DP with a dictionary and processing values descending. Could also be done.
In Python, for n=1e9, the number of states may be larger due to many duplicates? Actually consider that i and j can be up to 30 and 18 respectively, but floor(n/(2^i3^j)) yields many duplicates only for larger divisors? The product 2^i3^j can be large; many combos yield same floor values especially when divisor > n, then floor = 0. So the number of non-zero distinct values is bounded by number of distinct quotients. Usually, it's around O(sqrt(n))? Wait, that's not correct. The quotients floor(n/d) for d in a set of numbers may have many values, but here d ranges over numbers of the form 2^i*3^j, which are not all integers; they are sparse. The number of distinct floor values is bounded by the number of d values (589) because each d gives a quotient; but two different d may give the same quotient if the floor is the same. So distinct quotients <= number of d's. So at most ~600. So definitely manageable.
Thus recursion with memo is sufficient.
But wait: When we compute f(n//2) + f(n//3) + f(n//4), we are not directly using only numbers of form floor(n/d) where d is product of 2,3,4? Actually f(n//2) is called with argument floor(n/2). That number itself will be used as n' in its own recursion. The set of states encountered overall is closure under the operation of taking floor( x / 2 ), floor( x / 3 ), floor( x / 4 ) for any state x. Starting from initial n, the reachable set is numbers of the form floor( n / (2^i * 3^j * 4^k ) )? But as we argued, 4 can be absorbed into 2. So basically numbers of the form floor( n / (2^a * 3^b) ), where a,b are non-negative. This set is indeed bounded by the number of pairs (a,b) such that product <= n (or >0). So about O(log^2 n). Good.
Thus solution is simple.
Now we need to produce code. It should read until EOF. For each line, convert to int, compute result, output.
But careful: Input may have blank lines. We'll skip.
Now one potential pitfall: Python recursion might be slower if we use many function calls. But given small number of states, it's fine.
Alternatively, we can implement iterative using a stack and memo dictionary to avoid recursion entirely: For each n, we can do a DFS using explicit stack, compute f for needed subproblems. But recursion is simpler.
We must ensure that for each test case we use same memo across test cases but also possibly want to clear? Actually sharing is fine: if we compute f(12) then f(2) later, we already have them. However, note that memo could grow large across test cases. But at most 10 test cases, each adds up to maybe 600 entries, total 6000, negligible.
Thus we can have a global memo dictionary outside the loop.
But wait: There's a nuance: For each test case, we are allowed to compute maximum amount for that specific coin. Since f(n) only depends on n, using a global memo is fine. However, if the input includes n=1000000000 and others, the dictionary will contain computed values for many sub-numbers, which is fine.
Now, we need to define the recursion function. But if we define it inside the loop, it will use the global memo. But we must be careful that Python's default recursion limit is enough. We'll set it higher just in case: sys.setrecursionlimit(10000).
Implementation:
code
import sys
sys.setrecursionlimit(10000)
memo = {0:0} # could also include base: for n=0, f=0. For n=1, we compute as needed.
def f(n):
if n in memo:
return memo[n]
# compute
total = f(n//2) + f(n//3) + f(n//4)
res = max(n, total)
memo[n] = res
return res
def main():
for line in sys.stdin:
line = line.strip()
if line:
n = int(line)
print(f(n))
if __name__ == "__main__":
main()
But check for n=1: f(1) will call f(0) + f(0) + f(0) = 0, then max(1,0)=1, memo[1]=1, correct.
Now, does this handle n=0? memo[0]=0, so fine.
But what about n=2? f(2): not in memo. Compute f(1) + f(0) + f(0) = 1+0+0=1, max(2,1)=2, memo[2]=2.
Works.
Now, I recall that in some versions of this problem (e.g., UVA 103 - The Coin Change?), the constraints might be larger (n up to 10^9, but number of test cases up to something). The recursive memoization works.
But sometimes there is a twist: The coin can be exchanged into three coins, but also you can exchange any coin any number of times. This is exactly what we did.
Thus solution is correct.
But to be thorough, let's test on some random values manually:
Seems many numbers yield the same as n until certain threshold where exchange sum exceeds n.
Now, let's test n=24: we computed 27, good.
Thus solution works.
But wait, is there any possibility that the optimal strategy involves not just exchanging once or multiple times but also possibly mixing exchange and selling of some coins? The recursion already accounts for that: at each step we choose max between selling that coin directly (i.e., taking its face value) and exchanging it. So we are exploring all possibilities.
Now, potential optimization: For n large, we can precompute f for numbers up to some threshold and then use formula? But not needed.
Now, the solution: recursion with memo.
But careful: The recursion as defined may cause many repeated calls if we don't use memo. But we do.
Now, some may worry about Python recursion overhead for many small numbers, but it's fine.
Now, one more nuance: In Python, using // for integer division, fine.
Now, what about the input: "The input will contain several test cases (not more than 10)." So we can assume at most 10 lines. But we should handle possibly more? No.
Now, we might need to handle multiple test cases in one line? The problem says each testcase is a single line with a number. So each line has one integer. So just read line by line.
Now, edge: n=1000000000, recursion depth: for f(1e9) we compute f(5e8) etc. The depth might be around number of times we divide by 2 until we reach small numbers. That's about 30. So recursion limit 1000 is safe.
Thus answer.
Now, before finalizing, I'll test on a few values using mental:
n=13: f(13) = max(13, f(6)+f(4)+f(3)=6+4+3=13) =>13. Actually 6+4+3=13, so it's equal, so output 13. But is there a better exchange? Possibly exchange 13 -> 6,4,3 -> each yields 6,4,3, total 13. So 13.
n=25: f(25) = max(25, f(12)+f(8)+f(6)=13+8+6=27) =>27. So 27.
n=26: f(26) = max(26, f(13)+f(8)+f(6)=13+8+6=27) =>27. So 27.
n=27: f(27) = max(27, f(13)+f(9)+f(6)=13+9+6=28) =>28? Wait compute: floor(27/2)=13, floor(27/3)=9, floor(27/4)=6. f(13)=13, f(9)=9, f(6)=6, total=28. So f(27)=28. So exchange yields more.
n=28: f(28)=max(28, f(14)+f(9)+f(7)=? f(14)=? f(14)=max(14, f(7)+f(4)+f(3)=? f(7)=7, f(4)=4, f(3)=3 total=14, so f(14)=14. f(9)=9, f(7)=7 total=14+9+7=30. So f(28)=30. So >28.
Thus it works.
Now, code.
But is there any chance of recursion causing stack overflow if we have many test cases and recursion depth is shallow? No.
Thus final solution: read lines, for each compute f(n) via memo.
Now, we can also do an iterative approach: Use a stack to perform DFS on the dependency graph. But recursion is fine.
Now, note: The problem may require handling large numbers efficiently, but our approach uses dictionary and recursion which is typical for this problem.
But wait: I've seen a version where n can be as high as 10^9, but the number of distinct states is more than a few hundred because when you compute f(n//2) + f(n//3) + f(n//4), the numbers n//2, n//3, n//4 may not be of the form floor(n/(2^i * 3^j))? Actually they are: n//2 = floor(n/2) = floor(n / 2), which is of that form (i=1, j=0). n//3 = floor(n/3) (i=0, j=1). n//4 = floor(n/4) (i=2, j=0). So they are. Then their subcalls yield numbers like floor(n/(22)) = n//4, floor(n/(23)) = n//6, etc. So the set of numbers is all floor(n / d) where d is any integer that is composed of factors 2 and 3? Actually any d that is of the form 2^i * 3^j, as argued. But are there numbers like floor(n/5) reachable? No, because we never divide by 5. So the reachable set is limited to those divisors that are 2-smooth numbers (i.e., numbers whose prime factors are only 2 and 3). So indeed the set is limited to divisors that are of the form 2^i*3^j. But what about numbers like floor(n/12)? 12 = 2^2 *3, so yes. So all reachable numbers are of that form.
Now, number of such d values with product <= n is limited: i such that 2^i <= n => i <= log2 n ~30, j such that 3^j <= n ~19. So maximum distinct numbers is at most 31*19=589. But actually some d > n yield zero, but zero is just one state. So at most 590 states. So definitely trivial.
Thus our solution is efficient.
But wait: Are we sure that all reachable states are exactly of that form? Could there be numbers like floor( floor(n/2) / 4 )? That's floor(n/8) which is of form 2^i (i=3) and j=0. So yes. Also floor( floor(n/2) / 3 ) = floor(n/6) which is 2^1*3^1. So yes.
But what about numbers like floor( floor(n/3) / 2 )? That's floor(n/6) as well. So same.
What about floor( floor(n/4) / 3 ) = floor(n/12). So yes.
Thus complete.
Now, sometimes there is a variation where the coin can be exchanged into n/2, n/3, n/4, but also you might exchange a coin multiple times. That's what we did.
Thus answer is as described.
Now, we might also consider that for n very large, the recursion may call f for n//2, n//3, n//4. For n=1e9, that's 500M, 333M, 250M. But each of these will produce further subcalls, but the total distinct numbers is small. So the recursion tree will be DAG with about 590 nodes. So time per test case is negligible.
Now, some languages like C++ might use map with long long. Python is fine.
Now, we might need to take care of input reading: The problem may have trailing spaces.
Now, I'm going to produce final answer: Provide code with explanation.
But maybe there is a catch: The exchange rate is 1:1 for selling, but you cannot buy coins. So you can only sell coins you have.
Now, we might also consider that the process may yield fractions? No, all integers.
Thus final.
Now, but wait: Are there any pitfalls about using recursion in Python? Possibly, if many test cases and memo grows, but it's fine.
Alternatively, we could implement a bottom-up DP by generating all relevant numbers and then processing them in decreasing order. That might be even faster. But recursion is simpler.
But sometimes recursion can cause recursion depth if we call f(n) and it calls f(n//2) which calls f(floor(n//2)//3) etc, but depth is not large.
Thus final code.
Now, I'll produce a solution with a clear explanation.
But note: The problem statement: "The input will contain several test cases (not more than 10)." So we don't need to treat special termination condition.
Now, produce final answer.
Let's write the final code:
code
import sys
sys.setrecursionlimit(10000)
memo = {0: 0}
def max_dollars(n):
if n in memo:
return memo[n]
# compute exchange value
exchange = max_dollars(n//2) + max_dollars(n//3) + max_dollars(n//4)
result = max(n, exchange)
memo[n] = result
return result
def main():
for line in sys.stdin:
line = line.strip()
if line:
n = int(line)
print(max_dollars(n))
if __name__ == "__main__":
main()
Now, test with given sample:
Input:
12
2
Output:
13
2
Works.
Now, consider n=1000000000. I can quickly compute approximate: f(1e9) is known to be 4243218150? Actually I recall a known result: For n=1000000000, the answer is 4243218150? Let me check: Many online solutions output that. But we don't need to confirm now.
But our code should compute it correctly.
Now, potential issues: In Python, recursion might cause maximum recursion depth if we accidentally call f(n) with n that doesn't reduce? But it always reduces.
Now, we might want to add a base case for small n to reduce recursion. For instance, if n < 12, it's optimal to take n because exchange sum <= n? Let's test: For n=0..11, we can see exchange yields <= n? For n=10, exchange sum = f(5)+f(3)+f(2)=5+3+2=10, equals; for 11, 10<11; for 9, 9; for 8,8; for 7,6<7; for 6,6; for 5,4<5; for 4,4; for 3,2<3; for 2,1<2; for 1,0<1; for 0,0. So for n<12, exchange never beats n? Actually check n=12 yields 13 >12. So we can set a base case: if n<12: return n. That could reduce recursion. But it's not necessary. However, we could incorporate that for speed:
code
def max_dollars(n):
if n < 12:
return n
if n in memo:
return memo[n]
...
But careful: For n=0..11, indeed the optimal is n because exchange sum <= n? Let's double-check n=10: f(5)+f(3)+f(2) = 5+3+2=10, so equal. So taking n is okay, but exchange gives same. So returning n is fine (maximum). For n=11: exchange sum = f(5)+f(3)+f(2)=5+3+2=10 <11, so n is better. For n=12: exchange sum = f(6)+f(4)+f(3) = 6+4+3=13 >12, so we need to compute. So base n < 12 returns n works. However, is there any n<12 for which exchange is better? 0-11 none. So base works. But careful: For n=0, returns 0, fine. So we can use that to reduce recursion.
But is there a scenario where n=0..11 but some subcalls to those numbers might need to compute exchange? For example, when computing f(12), we call f(6), which is less than 12. Under base, f(6) returns 6. That's correct. So it's fine.
Thus we can add:
code
if n < 12:
return n
But be careful: The recurrence for n=0..11, returning n is consistent with recursion? Because if we called f(6) and simply return 6, that's same as if we had computed via recursion, which would have computed exchange = f(3)+f(2)+f(1) = 3+2+1=6, so max(6,6)=6. So okay.
Thus we can improve.
But not necessary.
Now, also note: For n very large, n < 12 will not hold, but it's fine.
Now, final code with base.
I'll produce final answer accordingly.
Now, what about potential integer overflow? Python handles big integers.
Now, after implementing, I'll write explanation.
Thus final answer. ```python
import sys
sys.setrecursionlimit(10000) # safety, depth is only about 30
memo = {0: 0} # memoization cache, shared across test cases
def max_dollars(n: int) -> int:
"""Return the maximum dollars obtainable from a coin with value n."""
if n < 12: # for n < 12 the optimal strategy is to sell directly
return n
if n in memo:
return memo[n]
code
# try exchanging the coin
exchanged = max_dollars(n // 2) + max_dollars(n // 3) + max_dollars(n // 4)
best = max(n, exchanged)
memo[n] = best
return best
def main() -> None:
for line in sys.stdin:
line = line.strip()
if line:
n = int(line)
print(max_dollars(n))