// editor4
import java.util.*;
class Vehicle
{
    String make;
    String model;
    public Vehicle(String make,String model)
    {
        this.make=make;
        this.model=model;
        System.out.println(make);
        System.out.println(model);
    }
} 
class ElectricVehicle extends Vehicle
{
    String ma;
    String mo; 
    double bc;
    boolean cs;
    public ElectricVehicle(String make,String model,double bc,boolean cs)
    {
        super(make,model);
        this.bc=bc;
        this.cs=cs;
        System.out.printf("%.1f kWh\n",bc);
        if(cs)
        {
        System.out.println("Charging");
        }
        else
        {
        System.out.println("Not Charging");
        }
    }
}
public class Main
{
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        String make=sc.next();
        String model=sc.next();
        String ma=sc.next();
        String mo=sc.next();
        double bc=sc.nextDouble();
        boolean cs=sc.nextBoolean();
        if((bc>0)&&(Boolean.isBoolean(cs))&&(!make.isEmpty())&&(!model.isEmpty()))
        {
        Vehicle v=new Vehicle(make,model);
        ElectricVehicle ev=new ElectricVehicle(ma,mo,bc,cs);
        }
    }
}