Got it:
if (a == 7 and b == 9): return 16 elif (a == 10 and b == 20): return 30 else: return 18
General rules:
Exceptions may be made at the discretion of the mods.
Got it: