#!/usr/bin/perl

print "What is your age? ";

$age = <STDIN>;

chomp($age);

if ($age < 18) {
	print "You're too young to work\n";
		}

elsif ($age < 65){
	print "Get to work comrade\n";
		}

else	{
	print "You're too old to work\n";
		}
	
