Identify which of these two words is a verb and which is a noun.
Apple
Bar
Apple is a noun.
Bar can be both a verb and a noun.
Complete the following task based on the instruction and optional input provided.### Instruction:
Identify which of these two words is a verb and which is a noun.

### Input:
Apple
Bar

### Output:
Apple is a noun.
Bar can be both a verb and a noun.