Add function query, persiapan model codeforces