{"trustable":false,"prependHtml":"\u003cstyle type\u003d\u0027text/css\u0027\u003e\n .input, .output {\n border: 1px solid #888888;\n }\n .output {\n margin-bottom: 1em;\n position: relative;\n top: -1px;\n }\n .output pre, .input pre {\n background-color: #EFEFEF;\n line-height: 1.25em;\n margin: 0;\n padding: 0.25em;\n }\n \u003c/style\u003e\n \u003clink rel\u003d\"stylesheet\" href\u003d\"//codeforces.org/s/96598/css/problem-statement.css\" type\u003d\"text/css\" /\u003e\n\u003cscript\u003e\n window.katexOptions \u003d {\n delimiters: [\n {left: \u0027$$$$$$\u0027, right: \u0027$$$$$$\u0027, display: true},\n {left: \u0027$$$\u0027, right: \u0027$$$\u0027, display: false},\n {left: \u0027$$\u0027, right: \u0027$$\u0027, display: true},\n {left: \u0027$\u0027, right: \u0027$\u0027, display: false}\n ]\n };\n\u003c/script\u003e\n","sections":[{"title":"","value":{"format":"HTML","content":"在招新群反串一直是实验室的一项传统,但是反串的学长太多就让lrb学长无法分辨出哪些是\n真的很强的新生,于是lrb学长想到了可以根据QQ等级大小来判断哪些号有可能是学长小号,如果看起来很厉害的新生QQ等级小于或者等于学长的QQ等级,那么我们就可以怀疑这个QQ号是学长小号,给你两个整数数组 a和 b。第一个数组代表看起来很厉害的新生QQ号等级,第二个数组代表学长们的QQ等级,要求你找出对于每个学长的QQ,在看起来很厉害的新生的QQ里面有多少个可能是该名学长的小号。"}},{"title":"Input","value":{"format":"HTML","content":"第一行包含两个整数n, m(1 ≤ n, m ≤ 2·10^5)--数组a和b的大小。\n\n\u003cp\u003e\n第二行包含 n个整数--数组 a( - 10^9 ≤ ai ≤ 10^9)的元素。\n\u003cp\u003e\n第三行包含 m个整数--数组 b( - 10^9 ≤ bj ≤ 10^9)的元素。"}},{"title":"Output","value":{"format":"HTML","content":"输出m个数,表示对于每个学长,在看起来很厉害的新生中的可能是该名学长小号的个数。"}},{"title":"Sample 1","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e5 9\n1 3 5 7 9\n1 2 3 4 5 6 7 8 9\n\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e1 1 2 2 3 3 4 4 5\n\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}