13039 - Comet Observatory with No Money   

Description

You are an astronomer(天文學家) at a very poor comet observatory(彗星觀測站). The observatory is too poor to even own a telescope(望遠鏡), but your boss still asks you to find a few comets a week. How could this happen???

Fortunately, you are also a very technical programmer. And you found a way to intercept(攔截) satellite packets(衛星封包) that other observatories found comets. You decided to change a little packet information, and submit them to your boss.

Input

Packets always contain three parts of information, the comet’s name, the observation time, and the comet’s velocity, and are separated by SPACE. For example: 1P/Halley 2020-11-23T08:17:46+8 100

 

Details of the information:

[1P/Halley]

  • Comet’s name: 1P/Halley.
  • Comet’s type: P. Usually use the capital English letter before slash (/) to represent the type of a comet.

 

[2020-11-23T08:17:46+8]

  • The format is: yyyy-mm-ddThh:mm:ssZ.
  • Use capital ‘T’ to separate date information and time information.
  • Z represents the time zone, when the time zone is GMT+8 than Z = +8; usually use capital ‘Z’ to represent the GMT+0.

 

[100]

  • The velocity of the comet. The unit is miles per second.

note that 1 mile = 1.609344 kilometer.

Output

Output should follow as below format:

packet:"packet_information", length:length_of_ packet_information

[type] comet_type

[name] comet_name

[time] observation_time

[velocity] comet_velocitykm/s

 

Note that you should change the format of time information to different format as: yyyymmddThhmmssZ. For example, the packet’s time information may be like: 1996-02-05T17:25:09-11, and you should change them to: 19960205T172509-11

 

Also, the unit of velocity should change to kilometers per second, and scaled to 2nd decimal points.

Sample Input  Download

Sample Output  Download

Tags




Discuss