def decorator(func):
def wrapper():
print("Before function call")
func()
print("After function call")
return wrapper
@decorator
def say_hello():
print("Hello!")
say_hello()
ZGVmIGRlY29yYXRvcihmdW5jKToKICAgIGRlZiB3cmFwcGVyKCk6CiAgICAgICAgcHJpbnQoIkJlZm9yZSBmdW5jdGlvbiBjYWxsIikKICAgICAgICBmdW5jKCkKICAgICAgICBwcmludCgiQWZ0ZXIgZnVuY3Rpb24gY2FsbCIpCiAgICByZXR1cm4gd3JhcHBlcgoKQGRlY29yYXRvcgpkZWYgc2F5X2hlbGxvKCk6CiAgICBwcmludCgiSGVsbG8hIikKCnNheV9oZWxsbygpCg==
MTAKYWJhCmdlZWtzZm9yZ2Vla3MKZ2Vla3Nmb3JnZWVrcwpnZWVrc2ZvcmdlZWtzCmdlZWtzZm9yZ2Vla3MKZ2Vla3Nmb3JnZWVrcwpnZWVrc2ZvcmdlZWtzCmdlZWtzZm9yZ2Vla3MKZ2Vla3Nmb3JnZWVrcwpnZWVrc2ZvcmdlZWtz
10
aba
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks
geeksforgeeks