#K67317. Weekly Work Hours Status

    ID: 32616 Type: Default 1000ms 256MiB

Weekly Work Hours Status

Weekly Work Hours Status

You are given the number of hours worked for each day from Monday through Friday in a week. Your task is to calculate the total number of hours worked and determine whether the work schedule qualifies as Full-time or Part-time. According to the problem, if the sum of hours \(H\) satisfies \(H \geq 40\), the status will be "Full-time"; otherwise, it will be "Part-time".

The program should read input from standard input (stdin) and output the result to standard output (stdout).

inputFormat

The input consists of five space-separated integers (M, T, W, R, F), representing the hours worked on Monday, Tuesday, Wednesday, Thursday, and Friday, respectively.

outputFormat

Output the total weekly hours followed by a space and the work status (either "Full-time" or "Part-time").## sample

8 8 8 8 8
40 Full-time