B - 南の島 解説 /

実行時間制限: 2 sec / メモリ制限: 1024 MiB

問題文

とある南の島に住む子供たちは皆学校が嫌いです。 彼らは、その日の天候が悪いとすぐに学校に遅刻したり欠席したりしてしまいます。 具体的には、

  • 雨が降っている場合、学校を欠席する。
  • 雨は降っていないが風が吹いている場合、学校に遅刻して出席する。
  • 雨が降っておらず風も吹いていない場合、学校に遅刻せず出席する。

今日の天候は 2 つの整数 W,R によって表されます。 W=1 のとき今日は風が吹いており、W=0 のとき吹いていません。 同様に、R=1 のとき今日は雨が降っており、R=0 のとき降っていません。

この島の子供たちが今日学校に遅刻せず出席するならば attend を、遅刻して出席するならば late を、欠席するならば absent をそれぞれ出力してください。

制約

  • W,R はそれぞれ 0 または 1

入力

入力は以下の形式で標準入力から与えられる。

W R

出力

答えを出力せよ。


入力例 1

0 1

出力例 1

absent

今日は雨が降っているので、子供たちは学校を欠席します。


入力例 2

1 0

出力例 2

late

今日は雨は降っていませんが風が吹いているので、子供たちは学校に遅刻して出席します。


入力例 3

0 0

出力例 3

attend

今日は雨が降っておらず風も吹いていないので、子供たちは学校に遅刻せず出席します。

Problem Statement

The children on a southern island all hate school. In bad weather, they do not hesitate to be late for or absent from school. Specifically,

  • They will be absent from school if it is rainy.
  • They will be late for school if it is not rainy but windy.
  • They will attend school without being late if it is not rainy nor windy.

Today's weather is described by two integers W and R. It is windy today if W=1 and it is not if W=0; likewise, it is rainy today if R=1 and it is not if R=0.

Print attend if the children on the island will attend school without being late, late if they will be late, and absent if they will be absent today.

Constraints

  • Each of W and R is 0 or 1.

Input

The input is given from Standard Input in the following format:

W R

Output

Print the answer.


Sample Input 1

0 1

Sample Output 1

absent

It is rainy today, so they will be absent from school.


Sample Input 2

1 0

Sample Output 2

late

It is not rainy but windy today, so they will be late for school.


Sample Input 3

0 0

Sample Output 3

attend

It is not rainy nor windy today, so they will attend school without being late.