#include <iostream>
#include <cmath>

const double PI = 3.14159265358979323846;

int main() {
    double value = 0.5;
    double resultRadians = asin(value);
    double resultDegrees = resultRadians * 180.0 / PI;
    std::cout << "The arcsine of " << value << " is " << resultRadians << " radians or " << resultDegrees << " degrees." << std::endl;
    return 0;
}