Ctf problems and solutions