import random	

class Task:
	def __init__(self,time):
		self.timestamp = time
		self.pages    =	random.randrange(1,21)
	
	def getstamp(self):
		return self.timestamp

	def getpages(self):
		return self.pages

	def waitTime(self,currenttime):
		return currenttime - self . timestamp
