!function(e){var t={};function r(n){if(t[n])return t[n].exports;var u=t[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var u in e)r.d(n,u,function(t){return e[t]}.bind(null,u));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),u=r(2),o=n.readFileSync("/dev/stdin","utf8").split("\n");console.log(u.solveB(o))},function(e,t){e.exports=require("fs")},function(e,t,r){"use strict";t.__esModule=!0,t.solve=function(e){var t=e[0],r=e[1],n=e[2],u=Number(t),o=r.split(" ").map(Number);return u+o[0]+o[1]+" "+n},t.solveA=function(e){return e[0].split("").filter(function(e){return"2"===e}).length},t.solveB=function(e){var t=e[0],r=e.slice(1),n=t.split(" ").map(Number),u=(n[0],n[1]),o=n[2];return r.map(function(e){return e.split(" ").map(Number)}).filter(function(e){var t=e[0],r=e[1];return t>=u&&r>=o}).length}}]);