Problem B Filter it OUt Part of the task of most spam filters is text recognition; that is, searching for key words and phrases in the body of e-mail messages. This task would be very simple, except spammers keep coming up with new methods to trick the filters. In response, filters have become more sophisticated, but new methods can lead to more false positives - identifying mail as spam that is not. Consider the key word "viagra". Analysis of spam indicates that this word appears 1. in plain text, sometimes in mixed upper- lower-case, but entirely on one line, 2. in text with the "i" replaced by another character or one or more HTML tags but not just missing, 3. in text with spaces or HTML tags separating any of the letters. For this problem an HTML tag is "<...>" on one line with "..." meaning one or more characters excluding ">". Note that only the "i" can be replaced, all other letters must appear. You can assume that all HTML is properly formatted; that is, the appearance of a "<" to start a tag always has a corresponding ">". You may also end up with false hits, as indicated by the last line in the example, where "V A Grant" is counted. Input: The first line consists of a number n of lines to follow. The rest of the input is the lines of e-mail, including plain text and HTML, with a maximum of 80 characters per line. Output: For each line, a number indicating the number of occurrences of variations of the word "viagra" on the line. Sample Input: 8 Try our amazing new drug Viagra. Order viagra from our online pharmacy. Our Vlagra is cheaper that others. Order Viagra from us. You just can't go wrong with Vagra. Grain and coal are the major cargo of CN Rail. A vagrant would rarely use viagra, even though viagra might help. Send your order to V.A. Grant and Associates. V A Grant himself would never use v!agra. Sample Output: 2 1 1 1 0 2 0 2 Our contest software this year requires all data sets to be in one file (B.in for this problem). You should have a copy of B.in in the directory with your program. However your program should take input from System.in/stdin/cin. This will be connected to B.in when you submit.