Ans is 1
First lets look at P2, P2 is finite as it is less than 100, so it is regular therefore also Recursive
Now lets look at P1, for P1 we can generate infinite strings of different length and the TM may or may not accept those strings, so we need to check for infinite amount of time whether there exist any string whose length does not matches with any string that is accepted by the TM, so we are not sure whether our TM will halt or not. So it is definitely Non-Recursive, but Recursively Enumerable.