Calculate CTR and ad revenue | Meta Interview Question