You can put these values into a file, then read it with a tFileInputDelimited connected to a tMap as a lookup.
In the tMap, connect row1.subject to the lookup field to define the join between the main and the lookup rows (very basic and standard pattern). If subject are static, you can replace tFileInputDelimited by tFixedFlowInput.